a popup window for entering the root pass?
Please don't think I am without recourse here. I know how to gain access to root resources securely. I'm just a graphical snob is all.
Typically, I resort to su -c <prog>. Or I simply execute a root-specific app and either gnome or kde will handle the root authentication for me. It's just that using FancyLauncher and asking for root commands can be a pain in the ass sometimes. I'd like a pretty way around su -c and kdesu -c.
On Wed, 2003-06-11 at 06:59, Leon Ward wrote:
Whoa there!
>
>
> 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
:-O
!!OMG!!!
The above problem will allow you to use execute commands you will not
normally have access to, but it will make such a HUGE security hole its
crazy!
Look at "sudo" it works for me, and the rest of the world come to think of
it.
-Nard
>
> 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
>
> This E-mail and its attachments have been scanned for viruses
> before delivery.
> For more information contact [EMAIL PROTECTED]
>
This E-mail and its attachments have been scanned for viruses before delivery.
We recommend that all attachments are also checked by recipients before being viewed.
For more information contact [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
Regards, Bryan Simmons ----------------------------------------------------------------- | __ __ |BryanSimmons dot Net | | /-oo /| |'-. |http://www.bryansimmons.net | | .\__/ || | | |================================| | _ / `._ \|_|_.-' |bryan simmons | | | / \__.`=._) (_ |email: [EMAIL PROTECTED] | ----------------------------------------------------------------- ----------------------------------------------------------------- The three virtues of a programmer are Laziness, Impatience, and Hubris. -Larry Wall ----------------------------------------------------------------- |
