run bash commands as root

March 3, 2010 at 05:58:44
Specs: Linux i686
Hi.

I need to launch a bash file in Linux from an unprivileged user session, file that will run bash commands as root. But I do not want to create an user with root privileges to do that.

Merci
Julia


See More: run bash commands as root

Report •

#1
March 3, 2010 at 13:13:47
Granting a user execute priviledges for root or another user generally is the domain of the sudo command.

With Linux, there is a good chance the utility already exists; if it doesn't check out this link:

http://www.gratisoft.us/sudo/


Report •
Related Solutions


Ask Question