What are my sudo privileges?

We don’t give full sudo access primarily for security concerns, while there are other considerations regarding automation, reproducibility and consistency.

We do however give some limited sudo privileges and you can get a list with the ‘sudo -l’ command. If you have specific needs, we’ll evaluate your requests and provide specific sudo rules, unless they pose security risks or configuration concerns.


~$ sudo -l | grep service
(root) PASSWD: /bin/systemctl restart nxserver.service
(root) PASSWD: /bin/systemctl start nxserver.service
(root) PASSWD: /usr/sbin/service lxdm start, /usr/sbin/service lxdm stop, /usr/sbin/service lxdm restart

so if you’re having trouble remotely connecting to your workstation via nomachine, you can first connect to your workstation via ssh, then use the following command to restart the server:

~$ sudo systemctl restart nxserver.service

The most common sudo attempts are to install software and that is not permitted because we use in house methods to automate such needs. Furthermore, most of the time such attempts are futile as the software is already installed, so instead of doing this:

~$ sudo apt install <some-needed-software-package>

do this:

~$ apt -s install <some-needed-software-package>

The “-s” tells “apt” to simulate the installation, hence no special privileges are required, while it will tell you what needs to be installed … or tell you that it’s already there!