asorron
March 6th, 2011, 01:25 AM
Hi ,
I'd like to know if theres a way to continue a bash job after a shell login; like so
#!/bin/bash
#executing some stuff
su - #having the need to log to higher previleges
#continue to execute the code
since after the login shell, it stops the bash job untill ull return to the previous user...
Thanks!
I'd like to know if theres a way to continue a bash job after a shell login; like so
#!/bin/bash
#executing some stuff
su - #having the need to log to higher previleges
#continue to execute the code
since after the login shell, it stops the bash job untill ull return to the previous user...
Thanks!