Operating System - HP-UX
1832608 Members
2168 Online
110043 Solutions
New Discussion

login prompts me for password twice

 
Ragni Singh
Super Advisor

login prompts me for password twice

hey guys, When I login as myself, it only promts me for password once. When I run sudo ksh, it prompts for for password twice. This is very annoying. Any ideas what is going on here. Any help is greatly appreciated and points will be given.
2 REPLIES 2
Sergejs Svitnevs
Honored Contributor

Re: login prompts me for password twice

By default, sudo requires that a user authenticate itrself before running a command. This behavior can be modified via the NOPASSWD tag.
Example: user "guest" can execute "ls" command as root on host "test" without authentification.

guest test = NOPASSWD: /bin/ls

Regards,
Sergejs
hein coulier
Frequent Advisor

Re: login prompts me for password twice

it could be a bad entry in your pam-config,
especialy if you're using ldap. Check out
man pam.conf