Date: Wed, 30 Jan 2002 07:28:03
From: "neil barnes" <[EMAIL PROTECTED]>
Subject: Re: [LIB] linux guru help required (on topic though!)


>Date: Wed, 30 Jan 2002 20:17:34 +1300
>From: Fran <[EMAIL PROTECTED]>
>Subject: Re: [LIB] linux guru help required (on topic though!)
>
>"chmod +s" the application you want to run as root.

This sets the suid bit, yes? it's set, but it still won't run except as 
root. There's a bit of code in there (geteuid()) which checks the user id, 
and even if I try and setuid before it, it still retains my normal user ID.

Neil

>
>Fran
>:):):)
>
>On Wed, 30 Jan 2002 19:57, you wrote:
> > Date: Wed, 30 Jan 2002 06:52:08
> > From: "neil barnes" <[EMAIL PROTECTED]>
> > Subject: Re: [LIB] linux guru help required (on topic though!)
> >
> > >Date: Tue, 29 Jan 2002 08:24:25 -0800
> >
> > From: Casey Karp <[EMAIL PROTECTED]>
> >
> > >Subject: Re: [LIB] linux guru help required (on topic though!)
> > >
> > >I'm not a linux expert by any means, but have you tried running it via
> > >sudo?
> > >
> > >         C.
> >
> > My next approach, though sudo doesn't appear to be installed at present
> > :)
> >
> > Buuuuuuuut, I'm damn sure there's a way that programs which require su
> > access to talk to the hardware can be run by users. Otherwise, how does
> > (e.g.) kppp work?
> >
> > Neil
> >
> > _________________________________________________________________
> > Join the world�s largest e-mail service with MSN Hotmail.
> > http://www.hotmail.com
> >
> >
> >
> >
> > **************************************************************
> > http://libretto.basiclink.com - Libretto mailing list
> > http://libretto.basiclink.com/archive - Archives
> > http://www.picante.com/~gtaylor/portable/faq.html - FAQ
> >                  -------TO UNSUBSCRIBE-------
> > Reply to any of the list messages. The reply mail should be
> > addressed to: [EMAIL PROTECTED] - Then replace any text
> > on the message's subject line: cmd:unsubscribe
> >               --------TO UNSUBSCRIBE DIGEST------
> > Do above but with this on subject line: cmd:unsubscribe digest
> > **************************************************************
>
>
>
>
>**************************************************************
>http://libretto.basiclink.com - Libretto mailing list
>http://libretto.basiclink.com/archive - Archives
>http://www.picante.com/~gtaylor/portable/faq.html - FAQ
>                  -------TO UNSUBSCRIBE-------
>Reply to any of the list messages. The reply mail should be
>addressed to: [EMAIL PROTECTED] - Then replace any text
>on the message's subject line: cmd:unsubscribe
>               --------TO UNSUBSCRIBE DIGEST------
>Do above but with this on subject line: cmd:unsubscribe digest
>**************************************************************
>




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




**************************************************************
http://libretto.basiclink.com - Libretto mailing list
http://libretto.basiclink.com/archive - Archives
http://www.picante.com/~gtaylor/portable/faq.html - FAQ
                 -------TO UNSUBSCRIBE-------
Reply to any of the list messages. The reply mail should be
addressed to: [EMAIL PROTECTED] - Then replace any text
on the message's subject line: cmd:unsubscribe
              --------TO UNSUBSCRIBE DIGEST------
Do above but with this on subject line: cmd:unsubscribe digest
**************************************************************

Reply via email to