Sometimes, there is a need to launch an app with a root privilege. For example, VMware requires the root privilege when it needs to use a physical hard drive. Also, Sublime, for example, needs to be opened with the root privilege when we need to modify a file written as a root.
We can launch them from a terminal with
sudo, but it is inconvenient when we work with GUI.
Here, we specify the app to be always opened with the root privilege:
$ sudo visudo
add following line:
[USERNAME] ALL = NOPASSWD: [/path/to/app]
Leave a comment