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

Pawel Jakub Dawidek pjd at
Mon Jan 17 12:39:41 PST 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             
pjd at                 
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 :

More information about the cvs-all mailing list