Date: Mon, 18 Sep 2000 16:21:23 +1000 From: "Matthew Horoschun" <matthew@actweb.net> To: <freebsd-isp@FreeBSD.ORG>, "Mike" <mike@mikesweb.com> Subject: Re: pw & passwords Message-ID: <001f01c02138$ab377f00$2ac21ecb@actweb.net> References: <4.3.2.7.2.20000918011343.0f70d1a8@mail.mikesweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.. Hi Mike, Something like this will do it: $execcmd = "echo $password | pw useradd -m -n $user -c \"$fullname\" -g mygroup -s nologin -h 0"; Cheers Matthew. -- Matthew Horoschun Network Administrator ActWEB.NET Pty. Ltd. 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?001f01c02138$ab377f00$2ac21ecb>