Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can a user be setup to sudo (or su -) without entering a password?

share|improve this question
up vote 4 down vote accepted

You control sudo through the sudoers file. To edit this file, run sudo visudo.

I haven't tested this, but I think the following would allow all users in the "cdrom" group to run "sudo k3b" without needing a password:

%cdrom    ALL = NOPASSWD: /usr/bin/k3b

Source: http://ubuntuforums.org/showthread.php?t=19236

share|improve this answer
    
that's just what I was looking for. Thanks! – warren Jun 4 '10 at 1:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .