RStudio Server Start & Stop using non root user account


Hi All

I am new to this community.
We have recently set up Rstudio Server on Linux and it is working as expected.
Question - Can a Linux user (other than the users root, rstudio-server) be granted privileges to:

  1. start and stop Rstudio server
  2. kill active session
    If yes, how is this done?


i believe this page should explain basic detail necessary for user access control in linux:


Thank you.
I created a group "radmin" and set sudo permissions in the /etc/sudoers file as below:
%radmin ALL = (root) NOPASSWD: /usr/sbin/rstudio-server
%radmin ALL = (root) NOPASSWD: /sbin/stop shiny-server, /sbin/start shiny-server
This seems to be working well.