[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] passwd failure



On Mon, Mar 27, 2000 at 01:02:42PM -0500, Carlson, Jeffrey F wrote:
> setpwnam: Permission denied
> Password *NOT* changed.  Try again later.

Sounds like the passwd program is no longer setuid root.
Do a 'which passwd' and assuming you find it in /usr/bin/passwd
you should get the following results on ls -l /usr/bin/passwd:

-r-sr-xr-x   1 root     bin          8376 Feb 26  1999 /usr/bin/passwd

Of course, filesize and date may vary as this is from a RaQ2
rather than the Cube2.  The key is the 's' however -- if you
do not see this, or if the owner does not specify 'root' you
will not be able to change passwords.

To fix it, logon to root and try the following:

	chmod 4555 `which passwd`

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116