![](https://seccdn.libravatar.org/avatar/c6ed0de20fc3044f09e5de4fff2b9ca8.jpg?s=120&d=mm&r=g)
Hi, I'm trying to migrate my mail server from redhat 7.1 to suse 7.2. i have already transferred /var/mail and /home, and copy'ed /etc/passwd and /etc/shadow to the new (suse) server. the problem is: nobody logs in the new server. trid to change my password and I logged in. i've noticed that the passwords in /etc/shadow have the $ sign, and my new doesn't. does anyone know how to use the old shadow file without having to change everyuser password? tks in advance. Valter Rehn SysAdmin Dimed/Panvel Brazil
![](https://seccdn.libravatar.org/avatar/d70f8a8240c69007852b9d1bf27e170b.jpg?s=120&d=mm&r=g)
* Valter Rehn (valter@panvel.com.br) [020419 11:58]:
the problem is: nobody logs in the new server. trid to change my password and I logged in. i've noticed that the passwords in /etc/shadow have the $ sign, and my new doesn't.
does anyone know how to use the old shadow file without having to change everyuser password?
Redhat uses md5 passwds by default. We don't because it breaks too many things. See /usr/share/doc/packages/pam/README.md5 for details but you should only have to change /etc/pam.d/passwd: password required /lib/security/pam_pwcheck.so nullok md5 password required /lib/security/pam_unix.so \ nullok md5 use_first_pass use_authtok -- -ckm
![](https://seccdn.libravatar.org/avatar/f8a04844809999a30691f6e405de169f.jpg?s=120&d=mm&r=g)
Valter, I just did something similar. Switched from RH 6.2 to SuSE 7.2. I manually changed most of the users passwords (the ones that I knew) by hand, but there was a bunch that I didn't know. I took their shadow entries and moved them via copy and paste to the new server. 99% of them didn't have any problem connecting whatsoever. (I think that there was only one or two, but that might have been a missing character at the end of the paste...) Some of their shadow entries start with $ and some don't. It doesn't mean that they won't be able to be autenticated. HTH, ============================================ Drew J. Como Phone: 631-434-6600 Systems Administrator Fax: 631-434-7800 dcomo@bascom.com Web: www.bascom.com Bascom Global Internet Services, Inc. -------------------------------------------- "When quality is the goal, winning is guaranteed." -----Original Message----- From: Valter Rehn [mailto:valter@panvel.com.br] Sent: Friday, April 19, 2002 2:55 PM To: suse-linux-e@suse.com Subject: [SLE] passwd, shadow, upgrades, pam? help! Hi, I'm trying to migrate my mail server from redhat 7.1 to suse 7.2. i have already transferred /var/mail and /home, and copy'ed /etc/passwd and /etc/shadow to the new (suse) server. the problem is: nobody logs in the new server. trid to change my password and I logged in. i've noticed that the passwords in /etc/shadow have the $ sign, and my new doesn't. does anyone know how to use the old shadow file without having to change everyuser password? tks in advance. Valter Rehn SysAdmin Dimed/Panvel Brazil -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
participants (3)
-
Christopher Mahmood
-
Drew J. Como
-
Valter Rehn