passwd files (solved sort of)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: plug@arcticmail.complugarcticmail.com
Date:  
Subject: passwd files (solved sort of)
If you're using the "traditional" Unix password hash,
the hashed password should be compatible. You could
(carefully!) use Perl to put the hashed password in
the proper field in Linux' /etc/shadow.

If you're using MD5 passwords in Linux' /etc/shadow,
then you'll need to run "crack" on your old hashed
passwords to convert them to cleartext, and...


D

* On Thu, Aug 10, 2000 at 11:36:36PM +0700, Bill Warner wrote:
> unfortantly this wont keep the passwords
>
> but it does seem to work by copying the passwd and shadow
> files over from sco to linux. i tried copying individual
> lines at first and it didn't work. Once i decided to try
> copying the entire thing it seems to work. Strange, ohh
> well. problem solved
>
> Bill Warner
>
> > Copy the /etc/passwd from the SCO box over to the Linux box in /tmp and do
> > something like this:
> >
> >
> > for i in `cat /tmp/passwd|cut -d":" -f1`;do useradd $i;done
> >
> >
> > man useradd for more options (such as home dir's, etc)..
> >
> >
> > Regards,
> > Mike Cantrell
> >
> > ----- Original Message -----
> > From: "Bill Warner" <>
> > To: <>
> > Sent: Wednesday, August 09, 2000 2:49 PM
> > Subject: Re: passwd files
> >
> >
> > > I have tried this but it doesnt seem to work. I can't
> > > really even find any good docs on this I have skimmed through
> > > several howtos that I thought might give a clue. I am still
> > > doing some testing and rtfming I just really dont want to have
> > > to change passwords for over 300 users by hand.
> > >
> > > Bill Warner
> > >
> > > > I'm gonna say just copy the files :-) we've taken entrioes from linux to
> > > > solaris to BSD to....and have had no issues, so I'd imagine you wouldn't
> > > > :-)
> > > >
> > > >
> > > > _______________
> > > > Jonathan Furrer
> > > >
> > > > http://www.jofu.com/
> > > >
> > > > On 10 Aug 2000, Bill Warner wrote:
> > > >
> > > > > I am currently converting a SCO system over to Linux and
> > > > > am wondering if there is a way to keep the password and
> > > > > shadow files without having to recreate over 300 users.
> > > > >
> > > > > Does anyone know of the least painfull way of doing this?
> > > > >
> > > > > Bill Warner
> > > > >
> > > > >
> > > > > ________________________________________________
> > > > > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail
> > doesn't post to the list quickly and you use Netscape to write mail.
> > > > >
> > > > > Plug-discuss mailing list -
> > > > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > > > >
> > > >
> > > >
> > > > ________________________________________________
> > > > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > post to the list quickly and you use Netscape to write mail.
> > > >
> > > > Plug-discuss mailing list -
> > > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > > >
> > >
> > >
> > > ________________________________________________
> > > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > post to the list quickly and you use Netscape to write mail.
> > >
> > > Plug-discuss mailing list -
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> >
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> >
> > Plug-discuss mailing list -
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss