Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 1998 13:11:55 +0800
From:      "Jin.G" <jingang@cyberway.com.sg>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Q: master.passwd and shadow on Sun
Message-ID:  <3611BD9A.E7485F8F@cyberway.com.sg>

next in thread | raw e-mail | index | archive | help
Hi,

How do I convert master.passwd on FreeBSD to /etc/shadow on Sun Solaris
2.51-2.6, I find that these two files have two different format.

/etc/shadow:
tester:QsHeN2nZPdL96:10492::::::

/etc/master.passwd
tester:$1$fx.AT$UPMJt3hdhSavR0DbMAnFd0:1006:0::0:0:Testing
Account:/home/tester:/bin/sh

2nd field of both file are encrypted passwd, but length is different, is
there a way to cut part of it from /etc/master.passwd, and paste to
/etc/shadow, so user's passwd is kept same.

Thanks,
jingang@cyberway.com.sg




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3611BD9A.E7485F8F>