Well if you want to run a script as diferent user you should try to run with su comand.
If you will run like this
su - x -c "/path/script.sh"
after the script is run the su comand return at your user.
Well if you want to run a script as diferent user you should try to run with su comand.
If you will run like this
su - x -c "/path/script.sh"
after the script is run the su comand return at your user.
No comments yet.
RSS feed for comments on this post. TrackBack URL
Powered by WordPress