On Tuesday, 10 June 2003, at 22:34:36 (-0400),
Karl B wrote:

> You could use a little C program like the following to gain access to
> root:
> 
> /* roo.c
>  * Quick access to root 
>  */
> 
> main(argc, argv)
> int argc;
> char **argv;
> {
>     setuid(0);
>     if(argc == 1) execl("/bin/bash", "-bash", (char)0);
>     else execvp(argv[1], &argv[1]);
> }
> 
> Compile the Program
> Gain root access
> copy it to /usr/local/bin
> chown root.bin /usr/local/bin/roo
> chmod 4755 /usr/local/bin/roo
> exit root
> now try command  " roo id "
> UID should be 0

I *really* hope you're not serious about this.  Please don't suggest
things like this.  There are people on this list who don't know any
better.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "She'd still say, 'I love you' if I asked, but she never volunteers.
  Somehow what she never says means more than all the other words I
  hear."                     -- BlackHawk, "I Sure Can Smell the Rain"


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
enlightenment-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to