Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2005 11:48:33 -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:  <20050522114640.R27009@carver.gumbysoft.com>
In-Reply-To: <428FA04F.7060708@t-hosting.hu>
References:  <428FA04F.7060708@t-hosting.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Stripping -bugs and -current cc; this applies to -stable and isn't in
reference to an existing PR.

On Sat, 21 May 2005, [ISO-8859-1] K=F6vesd=E1n G=E1bor wrote:

> Hello there,
>
> there is a strange thing.... FreeBSD 5.3 randomly frogets some of my
> users. Sometimes I see in the first column of the ps aux output the uid
> number instead of the login name, but next when I run it, there is the
> login name. Besides, I tried to chown a directory to an existing user,
> but the I get an error message, that there wasn't such user.

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.

> I immediately checked passwd, group and master.passwd files in /etc but
> the entry for that user was present there. The pw userdel was unable to
> delete that user, so I had to manually remove it from those three files
> and create it again. It worked then, but a bit later there was the same
> result. I'm quite annoyed now. This state isn't safe enough, I have to
> do something to get around with this. Do You have similar experiences?
> Or do You now some kinda workaround?
>
> Cheers,
>
> G=E1bor K=F6vesd=E1n
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>

--=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?20050522114640.R27009>