Date: Mon, 18 Sep 2000 00:54:03 -0600 (MDT) From: "Forrest W. Christian" <forrestc@imach.com> To: Mike <mike@mikesweb.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: pw & passwords Message-ID: <Pine.BSF.4.21.0009180050240.1374-100000@workhorse.iMach.com> In-Reply-To: <4.3.2.7.2.20000918011343.0f70d1a8@mail.mikesweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009180050240.1374-100000>