From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 14 15:51:31 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 65B4C16A41F for ; Fri, 14 Oct 2005 15:51:31 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1545E43D45 for ; Fri, 14 Oct 2005 15:51:30 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 7AC718A00FB for ; Fri, 14 Oct 2005 08:51:31 -0700 (PDT) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (mailtest.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05997-01-60 for ; Fri, 14 Oct 2005 08:51:14 -0700 (PDT) Received: from [192.168.0.9] (unknown [192.168.0.9]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 64CB98A012C for ; Fri, 14 Oct 2005 08:51:14 -0700 (PDT) From: Freddie Cash To: freebsd-hackers@freebsd.org Date: Fri, 14 Oct 2005 08:51:17 -0700 User-Agent: KMail/1.8.2 References: <38664.202.65.114.154.1129284462.squirrel@webmail.usd.ac.id> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510140851.18406.fcash@ocis.net> X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca 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 15:51:31 -0000 On October 13, 2005 09:29 pm, Jayesh Jayan wrote: > 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 Don't do this, you'll kill all the accounts on your system. > 5 ) Also copy /etc/groups > 6 ) Now try to login to freebsd machine with the new user created on > the linux machine. If you search the OpenBSD FAQ, you'll find the correct process to take to convert Linux users to BSD users. It's a very quick awk script, and it works quite nicely. I used it to convert 500 users on a RedHat 6.2 system to a FreeBSD 5.3 system without any hiccups. -- Freddie Cash fcash@ocis.net