View Single Post
Posts: 129 | Thanked: 5 times | Joined on Mar 2008
#7
Type:


Code:
root
this executes script:

exec sudo gainroot --use-su

but actually does while sudo:

trap exit SIGHUP SIGINT SIGTERM
PATH=/bin:/usr/bin:/sbin:/usr/sbin
exec su -

but this does NOT make me root - it causes an error message instead

Last edited by Gourmand; 2008-03-30 at 18:24.