02-23-2015, 12:58 PM
(This post was last modified: 02-23-2015, 01:05 PM by AustinTexas.)
You should not be making that change in /etc/sudoers
/etc/sudoers gets modified occasionally (upgrades - depending on how you do your upgrade) and you will lose your edits.
You will notice that the last line of the /etc/sudoers file is:
#includedir /etc/sudoers.d
The proper way to add "userĀ ALL=NOPASSWD: /usr/bin/thunar" is to open leafpad as root:
Code:
gksudo leafpad
Add your line to the new text document, save as /etc/sudoers.d/personal (You can name the file anything you like.)
In order to function correctly, the file has to have the correct permissions, so enter the command:
Code:
sudo chmod 0440 /etc/sudoers.d/personal
Also, if you mess up, you just delete your personal file, and sudoers remains intact.
Find the instructions here:
Code:
sudo cat /etc/sudoers.d/README
Linux Lite 2.2 (64 bit), Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Microsoft-free environment since 1996
Microsoft-free environment since 1996