Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 12:28:34 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 5.3 forgets some of my users
Message-ID:  <20050522122739.M27009@carver.gumbysoft.com>
In-Reply-To: <4290D885.6000600@t-hosting.hu>
References:  <428FA04F.7060708@t-hosting.hu> <20050522114640.R27009@carver.gumbysoft.com> <4290D885.6000600@t-hosting.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 May 2005, [ISO-8859-1] K=F6vesd=E1n G=E1bor 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@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=E1bor K=F6vesd=E1n
>
>
> >What are you using for user lookups?  Are you using nss_ldap or somethin=
g
> >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.
> >
> >
> >
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050522122739.M27009>