Date: Fri, 09 Oct 1998 08:49:31 +1000 (EST) From: Keith Anderson <keith@apcs.com.au> To: Michael Doyle <relyod@indigo.ie> Cc: freebsd-questions@FreeBSD.ORG, Guy Helmer <ghelmer@scl.ameslab.gov> Subject: Re: Migrating User information (HELP) Message-ID: <XFMail.981009084931.keith@apcs.com.au> In-Reply-To: <3.0.5.32.19981008170354.009185a0@pop.indigo.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
I just did something like this and it worked fine I mounted the old (2.2.6) on the new (2.2.7)(mount_nfs old:/home /mnt/oldhome then did a cp -Rp /mnt/home /home then coppied the master passwd file and group file to the 2.2.7 All worked for me just fine Keith On 08-Oct-98 Michael Doyle wrote: >>> I want to replace the old server with the new server, but to do so, I > need to >>> set up or copy all the user accounts on the old server onto the new server. >>> >>> Is there any way to do this? >>> >>> I tried copying the passwd, master.passwd, passwd.db, spwd.db and group > files >>> to the new server but this just locked me out of the system - none of >>> the passwords worked. (restoring the old files put things back the way >>> they were) >> >>It should have worked; do you have the same links for /usr/lib/libcrypt* >>on your new machine as you did on your old machine? A common problem is >>for a "new" machine to not have the /usr/lib/libdescrypt* libraries >>installed, which are required if the passwords were encrypted on a machine >>that had the libdescrypt* libraries. >> > > Hmm... each machine is as installed from the release CD-ROMS > (old = 2.2.5, new=2.2.7) and in each case I did not install the > US security patches, so it is quite possible that the lybcrypt* files > are different. > > >>> How can I duplicate the users onto the new machine? >>> (They are connected by a LAN, at the moment NFS is not installed on either, >>> but FTP is working on both) >> >>If you have the disk space, you could tar up the home directories on the >>old machine, FTP the tar file to the new machine, and untar the home >>directories on the new machine. >> > > Yup, I'm sure I could do this. the old machine has about 100M free, > the new one has 6G free, and all but two or 3 of the home directories > are simply stubs - because the machine in question is a Web Proxy/POP3 server > the majority of users only ever use Eudora and IE/Netscape to interract > with it. > >>Otherwise, if you can "rsh" as root between the two machines, you might be >>able to do: >> >> tar cf - /usr/home | rsh newmachine "tar -C /usr/home -x -v -f -" >> > > Thanks... > > Mike > <><=====================================================><> > Michael Doyle phone: +353-1-661-0588 > Network Administrator http://www.co-operation-ireland.ie/ > Co-Operation North > > E-mail: relyod@co-operation-ireland.ie (0ffice) > relyod@indigo.ie (Personal) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Keith Anderson <keith@apcs.com.au> Date: 09-Oct-98 Time: 08:43:58 This message was sent by XFMail ---------------------------------- 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?XFMail.981009084931.keith>