Date: Thu, 13 Apr 2000 12:18:05 -0500 (CDT) From: David Kelly <dkelly@mail.hiwaay.net> To: freebsd-questions@FreeBSD.ORG, julianz@vsl.cua.edu Subject: Re: passwd file... Message-ID: <200004131718.e3DHI5G10878@mail.hiwaay.net>
next in thread | raw e-mail | index | archive | help
> 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 <julianz@vsl.cua.edu> > 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. > <Real Question> > 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? > </Real Question> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004131718.e3DHI5G10878>