[rhn-users] importing user accounts

Philippe B. Laval plaval at kennesaw.edu
Tue Nov 2 20:43:29 UTC 2004


Helal,

	Thanks for your quick reply.  I thought about doing that.  However,
I think the way the password is encrypted must depend on the machine.  I did
an experiment.  On two different machines, both running RedHat (7.0 and
8.0), I created a user with the same user name and user ID.  I assigned then
the same password.  Yet, the entry in /etc/shadow for the password looked
different.  This led me to believe that I could not just copy the files you
mentioned, at least /etc/shadow.  Maybe I am wrong.  Does anybody know for
sure?

P. Laval
 

-----Original Message-----
From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com] On
Behalf Of Helal Saghir
Sent: Tuesday, November 02, 2004 3:23 PM
To: rhn-users at redhat.com
Subject: RE: [rhn-users] importing user accounts

If you copy /etc/passwd , /etc/shadow , /etc/group from old system and put 
on the new one you should be able to matain the same old password for all 
accounts .

Thanks

Helal Saghir
saghirhelal at hotmail.com
Ph: 978-453-3296
1989 MS , 35 standish st.
Lowell ,MA 01854
USA




----Original Message Follows----
From: "Philippe B. Laval" <plaval at kennesaw.edu>
Reply-To: plaval at kennesaw.edu,Red Hat Network Users List 
<rhn-users at redhat.com>
To: "'Red Hat Network Users List'" <rhn-users at redhat.com>
Subject: [rhn-users] importing user accounts
Date: Tue, 2 Nov 2004 14:32:56 -0500

I have a machine running an old version of RedHat (7.0).  I want to install
Redhat Linux Enterprise WS 3.0 on it (I understand we cannot upgrade).  This
machine has many user accounts.  I would like to be able to do this without
having the users notice anything.  In particular, I do not want them to have
to reset their passwords.  I know I can save and restore their home
directories.  How do I handle their accounts, in particular their passwords
files (for both Linux and Samba)?  I cannot just copy them.  Is there a
utility to transfer their accounts from RedHat 7.0 to the new version?  I
welcome any suggestions.

P. Laval


_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx

_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users





More information about the rhn-users mailing list