From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 22:28:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 761F037B401 for ; Wed, 23 Apr 2003 22:28:42 -0700 (PDT) Received: from post2.inre.asu.edu (post2.inre.asu.edu [129.219.110.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id E49CE43FD7 for ; Wed, 23 Apr 2003 22:28:41 -0700 (PDT) (envelope-from David.Bear@asu.edu) Received: from conversion.post2.inre.asu.edu by asu.edu (PMDF V6.1 #40111) id <0HDU005011VO96@asu.edu> for freebsd-questions@freebsd.org; Wed, 23 Apr 2003 22:28:36 -0700 (MST) Received: from smtp.asu.edu (smtp.asu.edu [129.219.110.107]) by asu.edu (PMDF V6.1 #40111) with ESMTP id <0HDU000NX1VOSC@asu.edu> for freebsd-questions@freebsd.org; Wed, 23 Apr 2003 22:28:36 -0700 (MST) Received: from moroni.pp.asu.edu (moroni.pp.asu.edu [129.219.120.183]) by smtp.asu.edu (8.11.0/8.11.0/asu_smtp_relay,nullclient,tcp_wrapped) with ESMTP id h3O5SaH03606 for ; Wed, 23 Apr 2003 22:28:36 -0700 (MST) Received: (from iddwb@localhost) by moroni.pp.asu.edu (8.11.6/8.11.6) id h3O5SaA28995 for freebsd-questions@freebsd.org; Wed, 23 Apr 2003 22:28:36 -0700 Date: Wed, 23 Apr 2003 22:28:36 -0700 From: David Bear To: freebsd-questions@freebsd.org Message-id: <20030423222836.A28992@asu.edu> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5.1i Subject: batchmode adding user accounts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.Bear@asu.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 05:28:42 -0000 I have migrated a linux box to freebsd. I would like to add all the user accounts from linux to bsd but the format of /etc/passwd vs master.password is problematic. what I would like to try is pull out the user id from my old passwd file and somehow batchmode add them to my new system. I can use awk to get the old ids. But is there utility that will accept a list of user ids to add to master.password? -- David Bear College of Public Programs/ASU Mail Code 0803