On Thu, 11 Jul 2002, Jimmy wrote:

> I've tried that before last two year ago, 
> from Redhat 6.2 to Redhat 7.1, my password support shadow, 
> so what I did is to copy /etc/passwd and /etc/shadow to 
> my RH7.1 box, and it worked, all of them are authenticated 
> without any hassle.

There is just one problem with this procedure: you have to
manually create the users' home directories, mailboxes, etc.
A quick way to do this is to create a tar archive and move
the tar archive to the new box, like

tar cvf - /etc/passwd /etc/shadow /var/spool/mail /home \
  | gzip -9 > users.tar.gz

then just gunzip/untar "users.tar.gz" to the new machine!
How about the group names and other stuff?

PMana

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to