0

Installing new software requires a password in my ubuntu. How do I switch this option off? (I know my password, I just want to speed up the process)

Thnx in advance!

1 Answers1

2

You need to be careful when playing with sudo setup as you may end up without sudo access if something goes wrong. Using sudo visudo (it opens file in a editor and validates before overwriting the original file) add following to your sudoers file (replacing 'youruser' with your actual username):

youruser ALL=(ALL) NOPASSWD: /usr/bin/apt-get

A lot more about sudoers file is available in system manual (man sudoers) or Ubuntu's wiki: https://help.ubuntu.com/community/Sudoers

michal
  • 226