On Thursday 20 October 2005 21:31, [EMAIL PROTECTED] wrote:
> Am Donnerstag 20 Oktober 2005 09:49 schrieb Jean-François Simon
>
> <[EMAIL PROTECTED]>:
> > >>>> 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.

JFYI -- passwords encrypted with different algorithms are different enough to 
figure out the algorithm used, and to process it correctly.
Right now I have blowfish selected as a default, but still have a few users 
with md5-encrypted passwords.

-- 
Best regards,
  Alexander.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to