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

Re: Converting Users from Solaris to (Debian-)Linux

On Fri, Aug 30, 2002 at 05:42:51PM +0200, Jan-Hendrik Palic wrote:
> I have created a user test with pass test on Linux and Solaris:
> /etc/shadow on Linux:
> test:$1$mT.fKI5L$Fgq6C.AKbkzGfCU.RDDqj.:11929:0:99999:7:-1:-1:134549020
> /etc/shadow on Solaris:
> test:TCs9gC4bJy8rg:11929::::::
> the hashes are quite different .. ;(
> That could be a problem, no?

No, should be not.

The hash on Linux is md5 hash. On Solaris it is DES hash (output from
crypt() function).

Try it by creating a test user on Linux and substituing the line in
/etc/shadow with corresponding line from Solaris (e.g. the above line).

I just tried it and it works as it should.

So - no problem.

Good luck.

 Peter Samek

Reply to: