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.

I see the following configuration in /etc/nsswitch.conf:

shadow:     files [NOTFOUND=continue] ldap

Is there any purpose to the [NOTFOUND=continue] action? Isn't this functionally the same as the following configuration, which is far more common:

shadow:     files ldap
share|improve this question

1 Answer 1

up vote 3 down vote accepted

Slightly different - it means it will only continue if the account was not found.

If the account is present in the file, but an invalid password was supplied - then the trail stops there.

share|improve this answer

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.