Date: Fri, 28 Dec 2001 12:01:58 -0600 From: Lucas Bergman <lucas@slb.to> To: ScaryG <freymann@scaryg.shacknet.nu> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: adduser in a perl script question Message-ID: <15404.45974.412120.691151@apu.five.sight> In-Reply-To: <20011228101438.187f0eb0.freymann@scaryg.shacknet.nu> References: <20011228101438.187f0eb0.freymann@scaryg.shacknet.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm trying to automate the creation of a new user in a perl5 > script... I need to set the password which is why I'm not using > pw. The man pages for pw talk about a pipe for the password but > there are no examples. I think you want this: $ echo mypassword | pw useradd myname -h 0 Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15404.45974.412120.691151>