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

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Sun, 03 Jul 2005 01:03:04 -0000
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!

Received on Sun Jul 03 2005 - 01:03:03 UTC