From owner-freebsd-questions Tue Jun 16 03:23:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11320 for freebsd-questions-outgoing; Tue, 16 Jun 1998 03:23:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA11244 for ; Tue, 16 Jun 1998 03:22:51 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0ylsr3-0006y3-00; Tue, 16 Jun 1998 12:20:41 +0200 Message-ID: <19980616122041.I26576@cityip.co.za> Date: Tue, 16 Jun 1998 12:20:41 +0200 From: Johann Visagie To: Ben Pepa , freebsd-questions@FreeBSD.ORG Subject: Re: importing users Mail-Followup-To: Ben Pepa , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Ben Pepa on Mon, Jun 15, 1998 at 11:39:29PM -0700 X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc X-URL: http://www.cityip.co.za/~wjv/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Jun 1998 at 23:39 SAT, Ben Pepa wrote: > Hi: > > I'm looking for a script or program that will allow us to easilly import > users from our schools database (and also be able to merge them in the > future and delete the graduates) onto our FreeBSD server as user accounts. > > We have 2000+ students and adding them manually would take weeks. The I'm afraid I have no easy off-the-shelf answer for you, except that this is the sort of task that Perl excels at. Any halfway competent system administrator with a working knowledge of Perl shouldn't take more than an hour or so to craft a script or set of scripts to do what you need done. I'd suggest looking at the O'Reilly books "Learing Perl" and "Programming Perl". Even "Learning" (the llama book) has more than enough info in it to get you writing scrips of the sort that you seem to need. Good luck! -- V Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message