0
I want to execute a bash script that switches user and then executes a series of commands. None of this users have root privileges. I guess I have to edit the sudoers file to give user1 (the user executing the script) privileges to be able to log as user2 with no password prompt. I've been looking for this example but I haven't found any.
Thanks in advance.
You should consider reformatting the second paragraph, e.g. to a list. – Daniel Beck – 2011-03-29T07:52:39.590
This is exactly what I'm looking for! – eliocs – 2011-03-29T10:57:03.590