From owner-freebsd-questions Wed Sep 30 00:18:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA11454 for freebsd-questions-outgoing; Wed, 30 Sep 1998 00:18:28 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (ns.celwave.tm.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA11448 for ; Wed, 30 Sep 1998 00:18:27 -0700 (PDT) (envelope-from Thierry.Herbelot@alcatel.fr) From: Thierry.Herbelot@alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id JAA09557; Wed, 30 Sep 1998 09:23:48 +0200 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id JAA07527; Wed, 30 Sep 1998 09:16:38 +0200 (MET DST) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with SMTP id JAA11946; Wed, 30 Sep 1998 09:06:18 +0200 (MEST) Received: from telspace.alcatel.fr by telss1 (4.1/SMI-4.1) id AA10630; Wed, 30 Sep 98 09:06:43 +0200 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA020418835; Wed, 30 Sep 1998 09:00:35 +0200 X-Openmail-Hops: 1 Date: Wed, 30 Sep 98 09:00:23 +0200 Message-Id: In-Reply-To: <3611BD9A.E7485F8F@cyberway.com.sg> Subject: Q: master.passwd and shadow on Sun Mime-Version: 1.0 To: jingang@cyberway.com.sg Cc: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII; name="Q:" Content-Disposition: inline; filename="Q:" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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