in the context of a program file, on executing the program you are
temporarily given the priviledges of the owner of the program. This comes
handy when the program modifies system files which otherwise you would not
want anyone to make access to.
the best example would be the passwd command which modifies the /etc/passwd
and the /etc/shadow files when any user executes the passwd command.
>From: Anmol Khirbat <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [linux-delhi] suid directory
>Date: Fri, 5 May 2000 11:00:37 -0700 (PWT)
>
>Hi
>
>What does turning on the suid bit on a directory do?
>
>$ mkdir junk
>$ chmod 4755 junk
>$ ls -ld junk/
>drwsr-xr-x 2 anmol anmol 4096 May 5 10:53 junk//
>
>bye
>Anmol
>
>
>--------------------------------------------------------------------
>The mailing list archives are available at
>http://lists.linux-india.org/cgi-bin/linux-delhi
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--------------------------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/linux-delhi