From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 18 05:15:14 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 9208716A41F for ; Tue, 18 Oct 2005 05:15:14 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from centrmmtao03.cox.net (centrmmtao03.cox.net [70.168.83.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9BE943D48 for ; Tue, 18 Oct 2005 05:15:13 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by centrmmtao03.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051018051438.QLHD4942.centrmmtao03.cox.net@mezz.mezzweb.com>; Tue, 18 Oct 2005 01:14:38 -0400 Date: Tue, 18 Oct 2005 00:15:46 -0500 To: iwan@staff.usd.ac.id References: <38664.202.65.114.154.1129284462.squirrel@webmail.usd.ac.id> <20051014031654.43563.qmail@web33403.mail.mud.yahoo.com> <49089.202.65.114.154.1129291871.squirrel@webmail.usd.ac.id> <3930.202.65.114.148.1129637874.squirrel@webmail.usd.ac.id> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <3930.202.65.114.148.1129637874.squirrel@webmail.usd.ac.id> User-Agent: Opera M2/8.50 (Linux, build 1358) Cc: freebsd-hackers@freebsd.org Subject: Re: system password's file --failed 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: Tue, 18 Oct 2005 05:15:14 -0000 On Tue, 18 Oct 2005 07:17:54 -0500, wrote: > Hi all, > I failed this steps. FreeBSD cannot recognized my username. > I will try it again. Have anybody another solution ?? Did you read link that I have given? Cheers, Mezz > Thanks before. > regards. > >> Thanks for you all, >> I will do this step. >> >> regards. >> >>> 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 -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org