Answer the question
In order to leave comments, you need to log in
How to give the right to run a specific application to a user?
Hey!
I want the user to be user
able to restart the process nginx
(i.e. do sudo service nginx reload | restart
). It is impossible to issue other rights to him .
Putting it in sudo or installing SELinux doesn't work :)
(ubuntu)
Answer the question
In order to leave comments, you need to log in
Why don't you like sudo? It's just what it's designed for.
here is more in Russian https://white55.ru/sudo.html
For existing user groups in the system, you can also allow the execution of individual commands or groups of commands:
%users localhost=/sbin/shutdown -h now - allow local users to shut down the computer.
%operators ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom - allow members of the “operators” group to mount and unmount the specified devices.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question