Re: passwd command problem.

2004-01-21 Thread Jonathan Chen
On Wed, Jan 21, 2004 at 09:35:46PM -0500, [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>
--
 "A person should be able to do a small bit of everything,
specialisation is for insects"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


passwd command problem.

2004-01-21 Thread falaki
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.




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"