Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 09:35:13 -0700
From:      Gordon Tetlow <gordon@tetlows.org>
To:        =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu>
Cc:        freebsd-stable@freebsd.org, freebsd-bugs@t-hosting.hu
Subject:   Re: FreeBSD 5.3 forgets some of my users
Message-ID:  <4295FAC1.80203@tetlows.org>
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
Kövesdán Gábor 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.
> 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?

Don't edit the /etc/passwd and /etc/master.passwd files directly, you 
get into a lot of trouble. Use vipw or the pw command.

Also, please don't crosspost between current and stable. Please post to 
whichever branch your machine is following.

-gordon



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