Operating System - HP-UX
1837141 Members
2418 Online
110112 Solutions
New Discussion

user passwd can not use in sudo

 
Thana
Occasional Contributor

user passwd can not use in sudo

Hi all
I try to add new user for use sudo. evenif this account (eddie) has list in /etc/sudoers file as followed.

User_Alias FULLTIMERS=eddie,anothai,thanap,
FULLTIMERS ALL=ALL

but when eddie accout use sudo. system prompt for password. But this account password not pass authentication.
Evenif I can use this password for log in to system.
Do you have any idea about this case for me.
Thank in advance.

Kindly regards
Thana (^_^)
2 REPLIES 2
Mic V.
Esteemed Contributor

Re: user passwd can not use in sudo

Hi, Thana, I guessed you were Thai when I saw "thanap." I worked with a nice man named Thanakorn (plus several other people). He even came to visit for 2 weeks. I'm afraid because he started a business in Phuket... I hope everything is okay for you.

You know, I have not used sudo for about a year. I try to remember if I can.

One question -- there is a comma --> , <-- at the end of the "User_Alias" line (see above). If this is in the file, maybe remove it? Like this:

User_Alias FULLTIMERS=eddie,anothai,thanap

Can anyone else (you or Anothai) use sudo? Is eddie the only problem person?

Also, what does sudo write when it fails? Can you type the exact words here?

Good luck,
Mic
What kind of a name is 'Wolverine'?
Indira Aramandla
Honored Contributor

Re: user passwd can not use in sudo

Hi Thana,

You need this.

User_Alias FULLTIMERS=eddie,anothai,thanap,
FULLTIMERS ALL=(ALL) NOPASSWD: ALL

IA
Never give up, Keep Trying