From owner-freebsd-questions Wed Dec 9 11:24:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA17047 for freebsd-questions-outgoing; Wed, 9 Dec 1998 11:24:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from amanda.qmpgmc.ac.uk ([194.81.5.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA16818 for ; Wed, 9 Dec 1998 11:24:08 -0800 (PST) (envelope-from greg@qmpgmc.ac.uk) Received: from greg.qmpgmc.ac.uk (gquinlan.qmpgmc.ac.uk [194.81.0.56]) by amanda.qmpgmc.ac.uk (8.9.1a/8.9.1) with SMTP id TAA26973 for ; Wed, 9 Dec 1998 19:21:02 GMT From: "Greg Quinlan" To: Subject: Passwords in FreeBSD 2.2.7 do not work in 3.0 Date: Wed, 9 Dec 1998 19:24:56 -0000 Message-ID: <01be23a9$9a772fa0$380051c2@greg.qmpgmc.ac.uk> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01BE23A9.9A772FA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000A_01BE23A9.9A772FA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To save Myself a lot of work I copied the following files from my 2.2.7 = server to a new 3.0 server: /etc/passwd /etc/master.passwd /etc/spwd.db /etc/pwd.db and just for good measure I did a "pwd_mkdb -p" to rebuild the = databases!!!=20 I was totally amazed when I could not login! All was not lost... I booted into single user mode and physically remove = the password for root! Basically; What did I miss? I looked at /etc/auth.conf did not seem to do anything! I looked at each of the individual entries and all the fields were = there! I can not run the 'passwd' program because it hangs! HELP! (A 5 minute job is now several hours overdue! ;) ) Greg ------=_NextPart_000_000A_01BE23A9.9A772FA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
To save Myself a lot of work I = copied the=20 following files from my 2.2.7 server to a new 3.0 server:
 
/etc/passwd
/etc/master.passwd
/etc/spwd.db
/etc/pwd.db
 
and just for good measure I did a = "pwd_mkdb=20 -p" to rebuild the databases!!!
 
I was totally amazed when I could not = login!
All was not lost... I booted into single user mode = and=20 physically remove the password for root!
 
Basically; What did I = miss?
I looked at /etc/auth.conf did not seem to do=20 anything!
I looked at each of the individual entries and all = the fields=20 were there!
I can not run the 'passwd' program because it=20 hangs!
HELP!
(A 5 minute job is now several hours overdue! = ;) =20 ) 
 
Greg
------=_NextPart_000_000A_01BE23A9.9A772FA0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message