Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way I can make likewise check the passwd file first? Currently, nsswitch.conf does say files first. However, when I tried to log into the box as the root user, it was hanging until I removed the network cable. This was as direct login to the console, so it was a reverse ssh lookup or anything like that.

Something in pam perhaps?

share|improve this question
    
I would think that with files listed first it would work... any chance there's been a reboot since you changed the order? (assuming that you did) not that that makes sense or should be required. –  xenoterracide Nov 13 '09 at 21:08
add comment

1 Answer

up vote 1 down vote accepted

Check out /etc/pam.d/system-auth... pam controls authentication, nsswitch.conf does the looking up of uid->name mapping, groups, etc. You'll want the unix pam modules to come before the likewise pam modules.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.