Operating System - HP-UX
1834459 Members
2474 Online
110067 Solutions
New Discussion

SUDO access for users not working.

 
jkumar
Advisor

SUDO access for users not working.

I have a hp-ux 11.11 server,i tryed to add some of the users in sudoers file after adding the name ,If i try to do sudo su -,it saying Try passwd again.Can any one suggest is any other file more than sudoers to edit and add the new users.
i used the below command to add that user
#/usr/local/sbin/visudo -s
2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: SUDO access for users not working.

sudoers is the only file to edit for sudo. You are doing it correctly by using visudo.

If you could post your sudoers file it would be easier to pinpoint the problem.
Pravin Salgaonkar
Frequent Advisor

Re: SUDO access for users not working.

there is a entry in sudoers file for no passwd u have to add the username in that section also so that the user is not prompted for password

for access also u have to give all=all there is a sample for root you cal copy the same and replace the username

it will help if u post the contents of the sudoers file