Re: Passwd file conversion?

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

 



> 
> 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

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

  Powered by Linux