Am Donnerstag 20 Oktober 2005 09:49 schrieb Jean-François Simon
I want to upgrade my pc running suse 9.1 while keeping the user accounts. By upgrading I mean a fresh install on the / partition and keeping the user partition. just keep /etc/passwd. /etc/shadow and homes ;-) STOP! What about /etc/group? And if you just copy the old passwd file, you will loose all changed system users! Can I just copy and paste the regular users in the old /etc/passwd, /etc/shadow and /etc/group to the new one ?
Hi Jean-François, only if you use the same method to crypt the passwords. Look in your old /etc/shadow and compare the password field to the one in the new /etc/shadow. If your old passwords use another encryption, you must change the method on 10.0 via YaST. This only works if you use "local(/etc/passwd)" for authentification. -- mdc