[oclug] Read Write Execute, what is S?

Andrew Hutton ajh at finux.org
Wed Jan 31 15:36:59 EST 2001


setuid()

That means, when the program executes, it does so with the uid of the
owner.  In most cases this is root since you generally need to be root 
to make it work.

This can be dangerous since any setuid(0) application has full reign
of your system.  (Enter ACL's to deal with this, but ACL's are way outside
the scope of this commentary).

On Wed, Jan 31, 2001 at 03:07:39PM -0500, Blashy - none - wrote:
> I just saw this and was wondering what it was.
> 
> drwxrw(s)r-x 9 bige bige 1024 Jan 29 21:27 .
> 
> What does the S stand for? (no it was not in brackets =) ).
> 
> Thanks.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> _______________________________________________
> oclug mailing list
> oclug at lists.oclug.on.ca
> http://www.oclug.on.ca/mailman/listinfo/oclug

-- 
Andrew J. Hutton, 
Ottawa Linux Symposium, International Linux Developers Conference
http://www.linuxsymposium.org/    July 25th-28th, 2001



More information about the OCLUG mailing list