From owner-freebsd-stable@FreeBSD.ORG Thu May 26 16:32:16 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9555B16A41C for ; Thu, 26 May 2005 16:32:16 +0000 (GMT) (envelope-from gordon@tetlows.org) Received: from spiff.melthusia.org (spiff.melthusia.org [207.67.244.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687DB43D49 for ; Thu, 26 May 2005 16:32:16 +0000 (GMT) (envelope-from gordon@tetlows.org) Received: from [192.168.100.43] (cpe-66-75-151-227.san.res.rr.com [66.75.151.227]) (authenticated bits=0) by spiff.melthusia.org (8.12.10/8.12.10) with ESMTP id j4QGWATJ058898; Thu, 26 May 2005 09:32:15 -0700 (PDT) (envelope-from gordon@tetlows.org) Message-ID: <4295FAC1.80203@tetlows.org> Date: Thu, 26 May 2005 09:35:13 -0700 From: Gordon Tetlow User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= References: <428FA04F.7060708@t-hosting.hu> In-Reply-To: <428FA04F.7060708@t-hosting.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org, freebsd-bugs@t-hosting.hu Subject: Re: FreeBSD 5.3 forgets some of my users X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2005 16:32:16 -0000 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