From owner-freebsd-questions Tue Nov 12 21:37:15 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA26217 for questions-outgoing; Tue, 12 Nov 1996 21:37:15 -0800 (PST) Received: from calvino.alaska.net (root@calvino.alaska.net [206.149.65.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA26205 for ; Tue, 12 Nov 1996 21:36:59 -0800 (PST) Received: from hmmm.alaska.net (hmmm.alaska.net [206.149.69.94]) by calvino.alaska.net (8.8.0/8.7.3) with SMTP id UAA22023; Tue, 12 Nov 1996 20:36:24 -0900 (AKST) Message-ID: <3289CE98.22F0@alaska.net> Date: Wed, 13 Nov 1996 05:35:20 -0800 From: hmmm X-Mailer: Mozilla 2.02 (Win16; I) MIME-Version: 1.0 To: Snob Art Genre CC: questions@freebsd.org Subject: Re: /etc lock out References: <3289B3FC.68E7@alaska.net> <3287FC42.742A@calvin.pitzer.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Snob Art Genre wrote: > > hmmm wrote: > > > > i guess i did something REAL stupid! > > i changed the following files in /etc: > > > > group > > master.passwd > > passwd > > pwd.db > > spwd.db > > > > i think that was all of them. i did a GREP in /etc on > > roots real name (and added my last name to all occurences) > > and did the same to my login/user name. > > > > now i'm locked out of my BSD partitions! > > > > i get messages before the login prompt for each TCP service > > saying they will not be started because "root" doesn't exist. > > i guess that Kerberos stuff uses your REAL name when it > > encrypts or what ??? > > > > is there a fix? or have i really screwed myself? !!! > > i try to login as root - but my password doesn't work anymore ... > > Do you have a boot disk? Root password can be changed from sysinstall. yeah - i already tried that. but the functions that do that stuff (adduser/root passwd) don't do anything on the 2.1.5 boot disk ... any other ideas?