From owner-freebsd-questions Tue Jul 11 12:56:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lanshark.lanminds.com (lanshark.lanminds.com [208.25.68.5]) by hub.freebsd.org (Postfix) with ESMTP id 9373F37B881 for ; Tue, 11 Jul 2000 12:56:21 -0700 (PDT) (envelope-from todd@lmi.net) Received: from drtboi.lanminds.com (drtboi.lmi.net [208.25.91.219]) by lanshark.lanminds.com (8.8.8/8.8.7) with ESMTP id MAA03272; Tue, 11 Jul 2000 12:56:07 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.4 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <396B099C.FA264BC4@enets.co.uk> Date: Tue, 11 Jul 2000 12:56:07 -0700 (PDT) From: Todd Meister To: Steve Abraham Subject: Re: Quota Cc: questions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 11-Jul-2000 Steve Abraham wrote: > Can anyone recommend the best place to modify the adduser script? It's > a good deal more complex than the Linux one I am used to, and I don't > want to mess anything up. > Looking at the adduser script for FreeBSD 3.4-STABLE from a couple weeks ago, I would say put it here: ... &new_users_passwd_update; print "Added user ``$name''\n"; &new_users_sendmessage; &adduser_log("$name:*:$u_id:$g_id($group_login):$fullname"); &home_create($userhome, $name, $group_login); ... This is after line 716, in the new_users subroutine. Mebbe a routine called new_users_quota or something. I like to add stuff after everything important has been done. If I'm on crack, feel free to say. -Todd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message