From owner-freebsd-questions Thu Nov 20 07:03:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA09796 for questions-outgoing; Thu, 20 Nov 1997 07:03:14 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA09791 for ; Thu, 20 Nov 1997 07:03:10 -0800 (PST) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (shovey@buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.7.5/8.7.3) with SMTP id KAA13142; Thu, 20 Nov 1997 10:02:20 -0500 (EST) Date: Thu, 20 Nov 1997 10:02:19 -0500 (EST) From: Steve Hovey To: Leif Neland cc: freebsd-questions@FreeBSD.ORG Subject: Re: root != userid 0?!? In-Reply-To: <386_9711201032@swimsuit.roskildebc.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Sounds like something is corrupted - check master.passwd and maybe run a pwd_mkdb on it - or a chpass root and make some cosmetic change to get it to do it for you. There NIS running on it? On 20 Nov 1997, Leif Neland wrote: > One system can not translate user id 0 to the text "root" > > e.g. if I do a ls -l on a file owned by root, its ownership gets shown as "0 wheel", while another file might be "bin bin". > vi also complains it can't put a name on 0 for a restore-copy. > > I can do a "chown root somefile" > > the /etc/passwd-file are identical to the /etc/passwd on another system where it works: the userid is 0:0 > > What am I supposed to look for? > > > Leif Neland > leifn@image.dk > > --- > |Fidonet: Leif Neland 2:234/49 > |Internet: leifn@image.dk > > ------------------------------------------------------------------ Steve Hovey Chief Engineer BuffNET More Than Just a Connection! ------------------------------------------------------------------