Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have included the following in the sudoers file using the visudo command


and training is part of the sudo group

training@Slave1:~$ id uid=1000(training) gid=1000(training) groups=1000(training),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),111(lpadmin),112(sambashare),1001(vboxsf)

But, still I am prompted for the password when I run sudo ls.

How to get around this problem? I would like the training user to install software without being prompted for a password.

I have installed Ubuntu Server 12.04 and using Cloudera Manager to install Hadoop on that node and one of the requirement is shown below. I am able to do ssh, but sudo without a password is not working

Root access to your hosts is required to install the Cloudera packages. This installer will connect to your hosts via SSH and log in either directly as root or as another user with password-less sudo privileges to become root.

share|improve this question

closed as too localized by Bruno Pereira Jan 16 '13 at 11:12

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

If that is not the last line on your sudoers file there is a chance that the permission you are trying to set are being over written with something else. Is that the last line in your sudoers file? –  Bruno Pereira Jan 16 '13 at 9:42
@BrunoPereira - Thanx - that was the problem - I wasted like an hour to identify the problem. –  Praveen Sripati Jan 16 '13 at 11:10
Closing this for now, anything we can do for you let us know, have a gday ;) –  Bruno Pereira Jan 16 '13 at 11:12

Browse other questions tagged or ask your own question.