Barry Spindler on Sun, 9 Apr 2000 22:20:40 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] suid root ppp-down


Assuming ppp-down is a shell script, I'm pretty sure shell scripts can't
be setuid-root with Linux.. try using a C program or something like sudo
should work..

	--Barry

-- 
Tomorrow, this will be part of the unchangeable past but fortunately,
it can still be changed today.
------------------------------------------------------------------------
GPG Fingerprint: 5475 C984 D870 4ACD 9799  1B69 DFCE 17CB 8257 38C3
------------------------------------------------------------------------

On Sun, 9 Apr 2000, Darxus wrote:

> 
> Okay, so why doesn't this work as user darxus ?
> 
> 
> darxus:tty6@d-bm4-27:~/bin> cat ppp-down
> echo -n "I am: "
> whoami
> /usr/bin/killall pppd
> 
> darxus:tty6@d-bm4-27:~/bin> ls -l ppp-down
> -rwSr-sr--    1 root     darxus         47 Apr  9 20:56 ppp-down
> 
> darxus:tty6@d-bm4-27:~/bin> ppp-down
> I am: darxus
> pppd(10184): Operation not permitted
> pppd: no process killed
> 
> 
> __________________________________________________________________
> PGP fingerprint = 03 5B 9B A0 16 33 91 2F  A5 77 BC EE 43 71 98 D4
>             darxus@op.net / http://www.op.net/~darxus
>         There is no fine line between genius and insanity.
> 
> 
> ______________________________________________________________________
> Philadelphia Linux Users Group       -       http://plug.nothinbut.net
> Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
> General Discussion   -   http://lists.nothinbut.net/mail/listinfo/plug
> 
> 
> 


______________________________________________________________________
Philadelphia Linux Users Group       -       http://plug.nothinbut.net
Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce
General Discussion   -   http://lists.nothinbut.net/mail/listinfo/plug