Start/ stop init.d manuscript without origin accessibility

I am establishing an ubuntu - web server in order to organize the virtuoso web server.

I intend to arrangement a straightforward customer (without sudo) account that will (just) have the ability to run

/etc/init.d/virtuoso-opensource-6.1 [start|stop|restart]

(to be able to carry out the virtuoso web server, yet not various other system sources)

i hunch this is similar/equivalent to any kind of solution as an example apache2, mysql, etc

exists an alternative to restrict accessibility to just the virtuoso solution, or an alternative to accessibility to all the init.d manuscripts, yet not the remainder of the system?

2019-05-18 20:56:00
Source Share
Answers: 2

Your inquiry appears to think that sudo is an all or absolutely nothing grant of origin advantage since that is just how it is usually made use of.

With arrangement you can schedule really limited control over what sudoers can and also can not do.

2019-05-21 03:08:24

You can tailor which regulates the customer can run using sudo in /etc/sudoers (making use of visudo):

username: ALL = /etc/init.d/virtuoso 
2019-05-21 02:51:20