Nick,

In Linux, the SUID bit is ignored for script files. :-(

Been there, done that. (Almost bought the T-shirt. :)

Best regards
Gustav

Nick Thompson wrote:
> 
> Hi,
> 
> I'm trying to make the wwwoffle caching proxy work with dial up.
> Wwwoffle is started at boot with an empty resolv.conf and will then
> complain about resolv.conf being changed by ppp after the connection is
> setup (Non-Authorititive lookup). I'm using Kppp to control the
> connection and am trying to use its post connection command option to
> restart wwwoffle and put it in online mode.
> 
> I have a script, which works just fine if I am root (wwwoffle is running
> as root), but will not work if I am a user (don't own wwwoffle,
> therefore can't kill it). So I set the script ownership to root and
> turned on the SUID bit. But still I can't kill wwwoffle. Any ideas why?
> Is there a better approach?
> 
> Here are the relevant bits from my script.
> 
> case $1 in
>     connect)
>         /usr/lib/sendmail -q
>         /etc/rc.d/init.d/wwwoffle stop
>         /etc/rc.d/init.d/wwwoffle start
>         ....
> 
> Cheers,
> Nick.
> 
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.

-- 
JFK, assassination plot, sex, money laundering, blackmail, hacking,
security, encryption, bomb, CIA, NSA, KGB, Russia, Lockerbie, terrorism,
child abuse, drug dealing, espionage.

pgp = Pretty Good Privacy.

http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to