From owner-freebsd-questions Mon Nov 1 1:21:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.toplink.net (mail.toplink.net [195.2.171.8]) by hub.freebsd.org (Postfix) with ESMTP id 86AFD14D75 for ; Mon, 1 Nov 1999 01:21:50 -0800 (PST) (envelope-from ck@toplink.net) Received: from babylon.toplink.net (babylon.toplink.net [195.2.171.90]) by mail.toplink.net (8.9.3/8.9.3) with ESMTP id KAA20276; Mon, 1 Nov 1999 10:21:49 +0100 (CET) Received: from localhost (ck@localhost) by babylon.toplink.net (8.9.3/8.9.3) with ESMTP id KAA38737; Mon, 1 Nov 1999 10:21:23 +0100 (CET) Date: Mon, 1 Nov 1999 10:21:22 +0100 (CET) From: Christian Kratzer To: Dan Nelson Cc: TrouBle , "freebsd-questions@freebsd.org" Subject: Re: REWARD...! Perl Programmer master.passwd problem In-Reply-To: <19991031231517.A86862@dan.emsphone.com> Message-ID: X-NCC-RegID: de.toplink X-Spammer-Kill-Ratio: 75% X-Jihad: Will hunt down all cases of Spam and Net abuse. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Sun, 31 Oct 1999, Dan Nelson wrote: [snipp] > Why are you manually modifying master.passwd in the first place? Does > the 'pw' command not do what you want? User programs really shouldn't > mess with the passwd file at all. we do this all the time for creating webserver and homepage ftp accounts. This seems to be what the original poster wants to do, Really a very clean process using pwd_mkdb You don't want to use useradd, pw or other interactive stuff when creating users out of your customer database. This is what pwd_mkdb is there for. Greetings Christian -- TopLink Internet Services GmbH ck@171.2.195.in-addr.arpa Christian Kratzer http://www.toplink.net/ Phone: +49 7032 2701-0 Fax: +49 7032 2701-19 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message