From owner-freebsd-hackers Sat May 25 10:34:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA06047 for hackers-outgoing; Sat, 25 May 1996 10:34:30 -0700 (PDT) Received: from itesec.hsc.fr (root@itesec.hsc.fr [192.70.106.33]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA06018 for ; Sat, 25 May 1996 10:34:27 -0700 (PDT) Received: from tetard.hsc.fr (tetard.hsc.fr [192.70.106.43]) by itesec.hsc.fr (8.7.5/8.7.3/itesec-1.8) with ESMTP id TAA15632 for ; Sat, 25 May 1996 19:34:23 +0200 (MET DST) Received: (from regnauld@localhost) by tetard.hsc.fr (8.7.5/8.7.3/tetard-uucp-2.8) id TAA07641 for hackers@freebsd.org; Sat, 25 May 1996 19:33:58 +0200 (MET DST) From: Philippe Regnauld Message-Id: <199605251733.TAA07641@tetard.hsc.fr> Subject: Re: Adduser program in C To: hackers@freebsd.org (hackers) Date: Sat, 25 May 1996 19:33:57 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Stephen Fishert / writes: > > I would be doing it for the sole purpose of adding a lot of site specific > things as I did under Linux (finally digged up a skeleton to the adduser > program and modifying it). I asked about it being in C because I know C > and not Perl. :(. I would rather just add my things to the current > adduser program. Then I have trouble getting your point :-) Even though the adduser script we already have is dedicated to FreeBSD, there is no need to make it more so. The advantage of Perl is the easy updating of the code -- this makes it a lesser pain when things move around. And adduser is *not* one of those things you'll run often enough to complain about execution speed or memory use. Another point is that C is sometimes too dense for such simple administration tools. Not all people running FreeBSD will want to be forced to recompile adduser or use a separate configuration file. Perl code is straightforward enough that you can directly modify for site specific purposes. PS: I have in mind creating a series of X admin tools with Perl/Tk for FreeBSD. The main advantages are: easy to maintain, and easy to adapt to other Unices (i.e.: Linux, etc.) -- +-------------------+---------------------------------------+-----------------+ | Philippe Regnauld |_______Herve Schauer Consultants_______| regnauld@hsc.fr | +-------------------+FreeBSD - Turning PCs into Workstations+-----------------+