Operating System - HP-UX
1833781 Members
2438 Online
110063 Solutions
New Discussion

Sudo acting strange for one user only

 
Nick D'Angelo
Super Advisor

Sudo acting strange for one user only

HPUX 11i
I have several users defined in my /etc/sudoers file that I edited using visudoers.

All my other users can execute the /usr/lbin/modprpw command except for one.

I have tried to delete the users account and re-create it but to not avail.

This is what I have done:

1) I have logged on as the user
2) sudo /usr/lbin/modprpw -k dickn

It asks me for a password. I put in this user's password
It replies
Password:
Sorry, try again.
Password:

Any ideas/suggestions?
Always learning
2 REPLIES 2
Nick D'Angelo
Super Advisor

Re: Sudo acting strange for one user only

I removed the user, I removed the entry under /var/run, I recreated the user using /local/sbin/visudo and it is all good.

Thanks for reading anyway.

nickd
Always learning
Nick D'Angelo
Super Advisor

Re: Sudo acting strange for one user only

I have found the solution. thanks
Always learning