I have included the following in the sudoers file using the visudo command
training ALL=(ALL) NOPASSWD: ALL
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
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.