View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#11
Well, you can join the club and use same trick as above in your root script if you wish. Just modify gainroot as becomeroot does, possibly leaving out the echo, useless test for MODE etc, and launch su - from your root script via sudo gainroot like above. Would that be acceptable?
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.