DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Debian/ubuntu: Start Synaptic Without Enter The Password

10.28.2005
| 7428 views |
  • submit to reddit
        in /etc/sudoers:

  # Added by Ubuntu installer
  username   ALL=(ALL) ALL, NOPASSWD: /usr/sbin/synaptic

With 'NOPASSWD: /usr/sbin/synaptic' you can enter 'sudo synaptic' without a password prompt.