Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2003 13:52:34 +0100 (BST)
From:      =?iso-8859-1?q?Mark=20Redding?= <mwj_gb@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: passwd
Message-ID:  <20030606125234.28904.qmail@web41110.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

#snip#

passwd needs to run setuid root, so it can write the
new password to
/etc/master.passwd:

[homer: danielby: ~]$ ls -l `which passwd`
-r-sr-xr-x  2 root  wheel  32824 19 May 11:04
/usr/bin/passwd*

You need to re-enable the setuid bit.

#end-snip#

That's not it I'm afraid. The setuid bit was set
anyway, and anyway, users who are members of the wheel
group can execute the passwd command without trouble
(I've only switched off 'other' access).

:-(



=====
Mark W J Redding

__________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606125234.28904.qmail>