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
Happy Roo'ing
Karl
On Tue, 2003-06-10 at 20:12, Zro wrote:
> On Tue, 2003-06-10 at 16:17, Bryan Simmons wrote:
> > OK, so us n00bz are used to the kdesu command to allow us to call a
> > graphical su authentication for launching a single application with
> > root privs. Does E 0.16.5 have that ability? I hate using kdesu in
> > E.
>
> I'm a n00b and here's how I do this because I don't like KDE at all,and
> don't have it installed...
>
> I open up an E-term and type
> su -c "whatever command"
> put in the password and it runs that command and then exit's su.
>
> of course, there are some programs in my menu that require root
> privileges, but when i select them, it prompts me for the root
> password. Not sure if it's using the gnome base framework for this, or
> Xwindows, but i stick in the root password and that application runs.
>
> Zro
>
>
>
> -------------------------------------------------------
> 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
--
Karl B <[EMAIL PROTECTED]>
-------------------------------------------------------
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