FreeBSD 5.3 forgets some of my users

Doug White dwhite at gumbysoft.com
Sun May 22 12:28:34 PDT 2005


On Sun, 22 May 2005, [ISO-8859-1] Kövesdán Gábor wrote:

> 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.

Okay, perhaps the password database files had become corrupted.

>
> 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

Looks right. A database problem would make sense.

>
> 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.
> >
> >
> >
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-stable mailing list