I think mr_mischief's suggestions are good ones. I have a couple other notes.
kyle@sulaco:~ $ perl -le 'use English;print "uid: $UID, euid: $EUID"' uid: 501, euid: 501 kyle@sulaco:~ $ sudo perl -le 'use English;print "uid: $UID, euid: $EU +ID"' Password: uid: 0, euid: 0
In reply to Re: Determining if a script is running setuid
by kyle
in thread Determining if a script is running setuid
by crashtest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |