To use synaptic package manager without having to enter password you just need to add a line to /etc/sudoers file. Add the following line at the end of the file.
username ALL=NOPASSWD: /usr/sbin/synaptic
"username" - is your username on the machine.
You can do the same to run any other application without having to enter your password.
e.g. You can add the following line to make application gshutdown work without password
username ALL=NOPASSWD: /usr/bin/gshutdown
No comments:
Post a Comment