in reply to Determining if a script is running setuid
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
|
|---|