From owner-freebsd-questions Thu Apr 13 10:18: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 4393F37B5D1 for ; Thu, 13 Apr 2000 10:18:06 -0700 (PDT) (envelope-from dkelly@mail.hiwaay.net) Received: (from dkelly@localhost) by mail.hiwaay.net (8.10.0/8.10.0) id e3DHI5G10878; Thu, 13 Apr 2000 12:18:05 -0500 (CDT) Date: Thu, 13 Apr 2000 12:18:05 -0500 (CDT) From: David Kelly Message-Id: <200004131718.e3DHI5G10878@mail.hiwaay.net> To: freebsd-questions@FreeBSD.ORG, julianz@vsl.cua.edu Subject: Re: passwd file... Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 09:59:39 2000 > Delivered-To: freebsd-questions@freebsd.org > Date: Thu, 13 Apr 2000 16:02:11 -0400 (EDT) > From: Julian Zottl > To: freebsd-questions@FreeBSD.ORG > Subject: passwd file... > Sender: owner-freebsd-questions@FreeBSD.ORG > X-Loop: FreeBSD.ORG > > Hey all, I know this is a stupid question, but I am builing a new machine > and basically all I am doing is transfering the users from the old to the > new. The old machine is a 3.2R and the new one will be 4.0R. > > Can I copy the passwd file from my 3.2R machine to my new 4.0R machine and > safely say all the passwords/logins will become active after a restart? > > I know I will have to copy the old mail and user directories, but is > moving the accounts that easy? /etc/passwd is bogus. Copy /etc/master.passwd and make sure the permissions and ownership are the same. Then "pwd_mkdb master.passwd" to rebuild all the working files. -- David Kelly N4HHE, dkelly@hiwaay.net (hm) ====================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message