cvs commit: src/usr.bin/su su.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Jul 3 01:02:44 GMT 2005


On Mon, Jan 17, 2005 at 07:57:59PM +0000, Robert Watson wrote:
+> rwatson     2005-01-17 19:57:59 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     usr.bin/su           su.c 
+>   Log:
+>   If su(1) is run without an effective uid of 0, generate an error to
+>   the user indicating that su is not running setuid, which may help
+>   suggest to the user that it should be setuid, or should not be
+>   running from a file system mounted nosuid.

Shouldn't this be done for every setuid utility? Why only su(1)?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050703/5e2f4885/attachment.bin


More information about the cvs-src mailing list