Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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: Code:

%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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.