From owner-freebsd-questions Tue Sep 29 22:14:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23926 for freebsd-questions-outgoing; Tue, 29 Sep 1998 22:14:33 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from babyblue.cyberway.com.sg ([203.116.1.75]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23883 for ; Tue, 29 Sep 1998 22:14:25 -0700 (PDT) (envelope-from jingang@cyberway.com.sg) Received: from cyberway.com.sg (localhost [127.0.0.1]) by babyblue.cyberway.com.sg (AIX4.2/UCB 8.7/8.7) with ESMTP id NAA15478 for ; Wed, 30 Sep 1998 13:11:55 +0800 (TAIST) Message-ID: <3611BD9A.E7485F8F@cyberway.com.sg> Date: Wed, 30 Sep 1998 13:11:55 +0800 From: "Jin.G" X-Mailer: Mozilla 4.06 [en] (X11; I; AIX 4.2) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Q: master.passwd and shadow on Sun Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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