in reply to Process owner
$ ls -l setuidscript -rws------ 1 root root 49 Dec 14 22:26 /tmp/setuidscr +ipt $ cat setuidscript #!/usr/bin/sperl5.6.0 print "UID: $< EUID $>\n"; $ ./setuidscript UID: 8029 EUID 0
UPDATED: Changed back to the original syntax, that works ( a file, instead of a one-liner).
--
perl -p -e "s/(?:\w);([st])/'\$1/mg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Process owner
by blakem (Monsignor) on Dec 15, 2001 at 04:51 UTC | |
by belg4mit (Prior) on Dec 15, 2001 at 08:23 UTC |