Re: convert user a/c from RH 7.x to FC6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 6 Feb 2007 edwardspl@xxxxxxxxxx wrote:

Mogens Kjaer wrote:

edwardspl@xxxxxxxxxx wrote:
...

2, copy the password of abc from RH7.x to FC6.


Are the passwords encrypted with MD5 on the RH7.x machine?

If not, you'll have to change authentication on FC6
to not to use MD5. There's a security risk in doing this...

Then you can enter the encrypted passwords when you adduser with
the -p flag.

Mogens

Hello mogens,

1, there are /etc/password, /etc/shadow files on the Rh7.x System...
2, So, how can we add user and copy the password of user from the old
system to the new one ?

FC6 uses MD5 encryption. MD5 passwords are longer than crypt'ed passwords and start with $1$.

Copy the lines in the old system's /etc/shadow file to the one on the new system. CAUTION: Back up /etc/shadow before making any changes!

I thought that login could tell the difference between crypt'ed passwords and MD5 passwords. If so, then if your old passwords are crypt'ed, you should be able to just copy the crypt'ed passwords and they should work on the new system. If you have the users change their passwords, the changed ones should then be MD5 encoded.



Edward.


--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux