Date: Wed, 30 Sep 98 09:00:23 +0200 From: Thierry.Herbelot@alcatel.fr To: jingang@cyberway.com.sg Cc: freebsd-questions@FreeBSD.ORG Subject: Q: master.passwd and shadow on Sun Message-ID: <H000057c018a3bb6@MHS> In-Reply-To: <3611BD9A.E7485F8F@cyberway.com.sg>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, There is no way of converting RC5-encrypted passwords (beginning with $1$) to DES-encrypted passwords (usual way of things in the UNIX world). You will have to first reconfigure your FreeBSD system to use DES encyption (I don't remember how ...) Then you can exchange enrypted passwords. You can also use NIS/YP to allow SUN passwords to be recognized by your FreeBSD system. TfH > 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 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?H000057c018a3bb6>