Re: Eigenes Script für root als User ausführen
Hallo Frank!
Frank Mainz schrieb am Montag, den 20. August 2007:
[SUID sh-script]
>
> Schau:
>
> ls -al /usr/sbin/*line
> -rwsr-xr-x 1 root dip 282 Feb 27 10:13 /usr/sbin/offline
> -rwxr-xr-x 1 root root 125 Feb 27 09:58 /usr/sbin/online
und was soll das beweisen? mach mal echo $EUID in deinen Scripts, dann
siehst du, dass es nicht funktioniert.
Grüße
Christian
--
hundred-and-one symptoms of being an internet addict:
219. Your spouse has his or her lawyer deliver the divorce papers...
via e-mail.
Reply to: