From owner-freebsd-questions Fri Oct 27 06:31:42 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA18626 for questions-outgoing; Fri, 27 Oct 1995 06:31:42 -0700 Received: from strider.ibenet.it (root@strider.ibe.net [194.179.130.1]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id GAA18617 for ; Fri, 27 Oct 1995 06:31:36 -0700 Received: (from piero@localhost) by strider.ibenet.it (8.6.12/8.6.12) id OAA14992; Fri, 27 Oct 1995 14:26:43 +0100 From: Piero Serini Message-Id: <199510271326.OAA14992@strider.ibenet.it> Subject: Re: Converting Linux passwd file to FreeBSD To: kallio@jyu.fi (Seppo Kallio) Date: Fri, 27 Oct 1995 14:26:42 +0100 (MET) Cc: dhawk@netcom.com, questions@FreeBSD.ORG In-Reply-To: from "Seppo Kallio" at Oct 27, 95 09:11:20 am Reply-To: piero@strider.ibenet.it Operating-System: FreeBSD 1.1.5.1 X-Phone-Number: +39 (2) 58113562 X-NCC-RegID: it.ibenet X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1162 Sender: owner-questions@FreeBSD.ORG Precedence: bulk Hello. Quoting from Seppo Kallio (Fri Oct 27 07:11:20 1995): > >I have a 300 user Linux system (for conferencing) that I'm > >converting to FreeBSD. I'd like for the existing users to > >login to the new system with their existing userids/passwords. ... > I think it goes like this: > > 1. You must use DES in FreeBSD > 2. cp /etc/master.passwd /etc/master.passwd.bak > 3. use vipw and include Linux /etc/passwd efter FreeBSD /etc/passwd > 4. delete linux root etc accounts > 5. add the missing account expiration etc. fields on every > Linux passwd file line (after group id the characters ::0:0) > 6. exit vipw 1. You must use DES in FreeBSD 2. cp /etc/master.passwd /etc/master.passwd.bak 3. delete linux system accounts (root, daemon, opr, ...) 4. write a shell script to read a line in the old passwd, add account expiration fields, write to the new passwd (append mode :) 5. run it 6. run pwd_mkdb (man pwd_mkdb). 7. Enjoy Bye, -- # $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $ Piero Serini Via Giambologna, 1 I 20136 Milano - ITALY