[rhn-users] passwords: UNIX to Linux
Doerbeck, Christoph
Christoph.Doerbeck at FMR.COM
Wed Oct 13 17:11:15 UTC 2004
The long shadow passwords are md5 encrypted I believe.
Where as the short form common to Solaris is DES(?).
MD5 is generally regarded as a stronger cipher. Use it
if you can, but both should work as the glibc crypt routines
auto detect which to use.
- Christoph
-----Original Message-----
From: Charith Perera [mailto:cperera at intertechmedia.com]
Sent: Wednesday, October 13, 2004 11:34 AM
To: Red Hat Network Users List
Subject: Re: [rhn-users] passwords: UNIX to Linux
Dr. Schmidt,
Thanks, I didn't notice the -p switch earlier.
Providing the cryptic password worked. However, when I look at the /etc/shadow
file the encrypted passwords created on the Linux machine are much longer
than those copied over from the Solaris box. Any idea why this is and where I
can get more info regarding it.
Thanks,
Charith Perera
On Wednesday 13 October 2004 11:11 am, Dr. Guenter Schmidt wrote:
> Charith Perera wrote:
> >I'm in the process of moving one of our servers from a machine running
> > Solaris to one running RHEL AS. How do I go about transferring all the
> > users' passwords onto the linux machine.
>
> If the old passwords are in /etc/passwd or /etc/shadow extract that field
> and use the old passwords as input to the useradd command:
>
> useradd -u $uid -g $gid -p $passwd -d $home -s $shell -c $gcos $login
>
>
> --
> Dr. Günter Schmidt | Bruker BioSpin GmbH
>
> | NMR Software Department
>
> E-Mail: guenter.schmidt at bruker.de | Silberstreifen
> Phone: +49 721 5161-443 / Fax:-480 | D-76287 Rheinstetten
>
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
_______________________________________________
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