Give normal user access to an init.d script

Soren Hansen soren at ubuntu.com
Thu Mar 25 18:31:32 UTC 2010


On Thu, Mar 25, 2010 at 12:06:34AM +0100, Serge van Ginderachter wrote:
>> What I want to do is allow one user on my server to start/stop the
>> shoutcast server. At the moment I can only do it using sudo.
> sudo is the way to go...
> 
> you probably want to write a wrapper script, and only allow that script with
> sudo for that user

No need for a wrapper script. sudo offers this all on its own.

See the sudoers man page:

$ man 5 sudoers

-- 
Soren Hansen
Ubuntu Developer
http://www.ubuntu.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20100325/bcbc0024/attachment.pgp>


More information about the ubuntu-server mailing list