When logging in as root you must skip the first 2 prompts.

This is because the entries in /etc/pam.d/common-auth are:

When you log in as root there is no root entry in ldap, so the first attempt will fail. For the second prompt you need a one time password. The third prompt will check /etc/shadow, so this is when to enter the password.

last edited 2006-07-05 13:15:54 by 193