From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 14 04:30:00 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD35016A41F for ; Fri, 14 Oct 2005 04:30:00 +0000 (GMT) (envelope-from jayesh.freebsdlist@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C74943D55 for ; Fri, 14 Oct 2005 04:29:59 +0000 (GMT) (envelope-from jayesh.freebsdlist@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so351407wxc for ; Thu, 13 Oct 2005 21:29:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=SFBiu6hzCOaMmD0MY/dm8deZg6D3p74JBJR3ldiyQZmASW5qDPBapJ8LV7jzSJax0x6BwYsaodK7gwYhgU1M5EHL1f2Ts1xxh2MkTsD3hKyYbW1eB2MUIDS8ev7/+pXNMBi3e2fpGeUUyDSOPBh2CvM/vX6U5JwU0OFFJwglkW0= Received: by 10.70.34.1 with SMTP id h1mr1029019wxh; Thu, 13 Oct 2005 21:29:59 -0700 (PDT) Received: by 10.70.7.12 with HTTP; Thu, 13 Oct 2005 21:29:59 -0700 (PDT) Message-ID: Date: Fri, 14 Oct 2005 09:59:59 +0530 From: Jayesh Jayan To: Jiawei Ye In-Reply-To: MIME-Version: 1.0 References: <38664.202.65.114.154.1129284462.squirrel@webmail.usd.ac.id> <20051014031654.43563.qmail@web33403.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Simon Roberts , freebsd-hackers@freebsd.org, iwan@staff.usd.ac.id Subject: Re: system password's file X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 04:30:01 -0000 Hi, I would suggest you to try the below and make sure this works 1 ) Install a new freebsd server 2 ) create a user on your linux machine say with username freebsd and some password 3 ) now copy the data in your /etc/passwd file of linux machine to freebsd machine 4 ) Also copy the /etc/shadow file to freebsd server and renmae it as /etc/master.passwd 5 ) Also copy /etc/groups 6 ) Now try to login to freebsd machine with the new user created on the linux machine. Note : Please create a copy of the original file on freebsd machine before you change the real file If the test is successful. I suppose you can migrate from linux to freebsd with all the users and their passwords. Also while coping the file make sure that the default enteries are there. That just transfer the user details and not the system user details On 10/14/05, Jiawei Ye wrote: > > On 10/14/05, Simon Roberts wrote: > > Try /etc/passwd and /etc/shadow > > User id and basic stuff in passwd, the encrypted passwords in shadow. I > > don't know if the encryption algorithms are compatible between linux > > and bsd or not. > > > > hth > > Simon > Make sure you don't have >16 chars username before migrating. FreeBSD > doesn't support really long usernames. > > Jiawei > -- > "Without the userland, the kernel is useless." > --inspired by The Tao of Programming > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >