FreeBSD 5.3 forgets some of my users
Kövesdán Gábor
gabor.kovesdan at t-hosting.hu
Sun May 22 12:07:56 PDT 2005
Thanks for your suggestion. I use 'files' lookup. As You wrote I checked
the syntax with pwd_mkdb -C /etc/passwd' and it returned nothing. Then I
did a rebuild with -p, and now it seems to be okay, the two accounts
that had gone away are working now.
Anyway I haven't changed the nsswitch.conf, I have the default one:
root at server# less /etc/nsswitch.conf
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
Cheers,
Gábor Kövesdán
>What are you using for user lookups? Are you using nss_ldap or something
>other than the default 'files' lookup? Can you post the contents of
>/etc/nsswitch.conf?
>
>I'd also check your master.passwd file for any syntax errors or odd
>characters and then force a rebuild with:
>
>pwd_mkdb -p /etc/master.passwd
>
>as root.
>
>
>
More information about the freebsd-stable
mailing list