Re: Passwd file conversion?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks James,

I agree that the files you listed are the same on the two systems.  Lets not
forget the /etc/group file and /etc/gshadow file as well.

While the formats of the files are the same, the Salts used for the crypt
functions are not the same.  I am having 'general' success with the Password
Crackers .... My goal is a transparent migration of the environment for the
unknowing users.  I think that I can get 85% or better of the data in ascii
format.  From there, I can run the user_add function and have Linux use the
MD5 crypt.

If there's a simpler way, I'm open for ideas.  Migrating the passwd and
shadow files to the Linux Server itself did not work.  Thanks.

James Olin Oden wrote:

> >
> > Does anyone know if you can transport a Solaris Passwd file to a Linux
> > Server?  If so How?
> >
> Hi Albert,
>
> Without getting too deep into the details, yes.  The passwd file
> and shadow file on Solaris is:
>
>         /etc/passwd
>         /etc/shadow
>
> just like on Linux.  They are both text files with colon delimited
> records.  The issue is the defination of the columns in this files
> (espcicially in the shadow file) may differ, so you might have to
> create a quick shell or perl script to do an initial conversion.
> This should be trivial.  The hashes will be portable by virtue of the
> fact that both platforms undrstand crypt hashes.  If you want to go
> to more secure md5 hashes, though, you will have more work, as their
> is no reasonable way to convert hashes (running crack on you solaris
> hashes, getting the passwords and producing their respective md5
> hashes is not reasonable, and if it works I would be a little frightened
> [but perhaps not supprised (-;]).
>
> Anyway it can be done, but there are some caveats...james
> > --
> > Albert E. Whale - CISSP
> > http://www.abs-comptech.com
> > ----------------------------------------------------------------------
> > ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
> > Sr. Security, Network, and Systems Consultant
> > Board of Directors - InfraGard - Pittsburgh, PA
> >
> >
> >
> > _______________________________________________
> > Redhat-devel-list mailing list
> > Redhat-devel-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> >
>
> _______________________________________________
> Redhat-devel-list mailing list
> Redhat-devel-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list

--
Albert E. Whale - CISSP
http://www.abs-comptech.com
----------------------------------------------------------------------
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
Sr. Security, Network, and Systems Consultant
Board of Directors - InfraGard - Pittsburgh, PA




_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux