Koozali.org: home of the SME Server

Allowing non root user to execute some commands?

Paul

Allowing non root user to execute some commands?
« on: November 20, 2003, 06:48:47 PM »
Greetings,

I would like a way to allow a non root user to execute some commands on the server. Specifically starting/stopping/restarting the pppoe and/or ipsec services.

Any advice on how to accomplish this would be appreciated!


Thanks!

Curly

Re: Allowing non root user to execute some commands?
« Reply #1 on: November 20, 2003, 09:11:37 PM »
Use sudo:

DESCRIPTION
       sudo allows a permitted user to execute a command as the
       superuser or another user, as specified in the sudoers
       file.  

You can specify exactly which commands you would allow an user to execute. But be carefull !