passwd command problem.
Jonathan Chen
jonc at chen.org.nz
Wed Jan 21 11:24:25 PST 2004
On Wed, Jan 21, 2004 at 09:35:46PM -0500, falaki at ce.sharif.edu wrote:
> Hello;
> For some reason I had to add the passwd files of a previous FreeBSD 4.4
> server to a new 4.9 one. I added passwd and master.passwd. Then I
> updated the db files. Now every thing is OK and all users can login.
> My problem is that only the users in the wheel group can use passwd to
> change their passwords. The permissions of /usr/bin/passwd is:
> -r-sr-sr-x 2 root wheel 32824 Oct 27 2003 /usr/bin/passwd
>
> I cannot understand the reason. Can anybody help me.
The permissions of /usr/bin/passwd should be:
-r-sr-xr-x 2 root wheel 28828 Jan 19 08:27 /usr/bin/passwd
You've got the setgid bit set on yours.
--
Jonathan Chen <jonc at chen.org.nz>
----------------------------------------------------------------------
"A person should be able to do a small bit of everything,
specialisation is for insects"
More information about the freebsd-questions
mailing list