Jan 10, 2001 #1 nadim Technical User Mar 7, 2001 27 GB Is it possible to switch user (su) in a shell script and then run commands logged in as the user you have switched to.
Is it possible to switch user (su) in a shell script and then run commands logged in as the user you have switched to.
Jan 10, 2001 #2 ElgisRamon MIS Jun 14, 1999 606 US The command [tt]sudo[/tt] was designed explicitely to do what you need. Try searching for it at http://www.bull.de/ I hope it works... Upvote 0 Downvote
The command [tt]sudo[/tt] was designed explicitely to do what you need. Try searching for it at http://www.bull.de/ I hope it works...
Jan 10, 2001 #3 cspilman MIS Nov 17, 2000 307 US That is correct, sudo will do exactly what you need in this case. You can find information about what sudo is at this site: http://www.stikman.com/sudo/ Good Luck! Chuck Upvote 0 Downvote
That is correct, sudo will do exactly what you need in this case. You can find information about what sudo is at this site: http://www.stikman.com/sudo/ Good Luck! Chuck
Jan 10, 2001 #4 dabit Technical User Dec 5, 2000 11 PH yes that is correct sudo will help you finished this script Upvote 0 Downvote