[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Re: What is SUID ?



Thanks Binand and Aditya for the lucid explanation

Rajesh

On Tue, 21 Dec 1999, you wrote:
> 
> One example of a setuid program is the unix passwd command. As a normal user,
> you cannot write to /etc/passwd, and theoretically cannot change your
> password. But, since this program is run with its setuid bit on, and since it
> is owned by root, for the duration of this program, you are effectively the
> root of the system, and thus can update the password file.
> 
> There are many other examples - try find / -perm 4711 -o -perm 4755 to get a
> list of all setuid programs on your system.
> 
> Binand

-- 
Rajesh(ALIAS Shriram)
-----------------------------------------------------------------------------
How I Configured my SiS6215 Card ?
	Visit : http://geocities.com/rfowkar/linux.html

Web Site : http://geocities.com/rfowkar/
   Email : rfowkar@xxxxxxxxxxxxxxx

"My interest is in the future because I am going to spend the rest of my
life there."
-Charles F. Kettering
-----------------------------------------------------------------------------

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.