Blog of Robert Borst

My Links

Blog Stats

Archives

Collegues

Computer related stuff

Sport

Sunday, February 27, 2011 #

No more username request with mintupdate and synaptic by changing the sudoers file

I became annoyed by the passwords request when clicking on the mintupdate shield.
This behaviour can be suppressed by changing the sudoers file in /etc
change  the 'robert' below with your own name to make this work.
=-=-=-=-=
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults	env_reset

# Host alias specification
# User alias specification

# Cmnd alias specification

# User privilege specification
root	ALL=(ALL) ALL

# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
robert ALL = NOPASSWD: /usr/bin/mintupdate
robert ALL = NOPASSWD: /usr/sbin/synaptic
robert ALL = NOPASSWD: /usr/lib/linuxmint/mintUpdate/mintUpdate.py

posted @ 9:44 AM | Feedback (3)