From owner-freebsd-isp Mon Sep 18 8:31:32 2000 Delivered-To: freebsd-isp@freebsd.org Received: from cliff.i-plus.net (cliff.i-plus.net [209.100.20.42]) by hub.freebsd.org (Postfix) with ESMTP id 61EF537B423 for ; Mon, 18 Sep 2000 08:31:21 -0700 (PDT) Received: from arcadia (unknown [63.171.251.13]) by cliff.i-plus.net (Postfix) with SMTP id 5594B4160; Mon, 18 Sep 2000 11:31:20 -0400 (EDT) From: "Troy Settle" To: "Forrest W. Christian" Cc: Subject: RE: pw & passwords Date: Mon, 18 Sep 2000 11:31:59 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've recently moved away from keeping any users in the default passwd files. With qmail/vpopmail and ncftpd, I have no need for it. However, I would be interested in seeing your database schema and tools you're using to add/remove users and sync the passwd files. -- Troy Settle Pulaski Networks 540.994.4254 It's always a long day, 86400 doesn't fit into a short > -----Original Message----- > From: owner-freebsd-isp@FreeBSD.ORG > [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Forrest W. Christian > Sent: Monday, September 18, 2000 2:54 AM > To: Mike > Cc: freebsd-isp@FreeBSD.ORG > Subject: Re: pw & passwords > > > On Mon, 18 Sep 2000, Mike wrote: > > > I am working on a perl program to automate setting users up on > my box, and > > I am wanting to user pw in a system call, and am wondering how > I can give > > it a password directly without it needing to prompt me for it. > The closest > > I can come, is the "-h fd" flag, but I'm not overly sure how to > pull that > > one off.. > > Use the perl password management tools. See setpwent. Or, go after the > master password file directly. I personally re-gen the entire > /etc/master.passwd file from a SQL database. But again, I have to keep > several machines in sync. > > - Forrest W. Christian (forrestc@imach.com) AC7DE > ---------------------------------------------------------------------- > iMach, Ltd., P.O. Box 5749, Helena, MT 59604 http://www.imach.com > Solutions for your high-tech problems. (406)-442-6648 > ---------------------------------------------------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message