[sudo-users] ssh + Nohup + sudo

JR Aquino JR.Aquino at citrix.com
Wed May 9 17:04:18 EDT 2012

Was there a change in sudo 1.7.2... That would have effected commands started over ssh via sudo?

What I am trying is: ssh -t -t user at host "nohup sudo /etc/init.d/somescript.sh"  <- This used to work (I.e. the daemon launched via this would continue running thanks to the 'nohup')

What I am seeing now is the commands all execute, but as soon as ssh ends the session and the tty is freed, the daemon dies along with it.

"Keeping your head in the cloud"
Jr Aquino | Sr. Information Security Specialist
GIAC Certified Incident Handler | GIAC WebApp Penetration Tester
Citrix Online | 7408 Hollister Avenue | Goleta, CA 93117
T:  +1 805.690.3478
jr.aquino at citrix.com

More information about the sudo-users mailing list