Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 01:27:40 -0400
From:      Mike <mike@mikesweb.com>
To:        "Matthew Horoschun" <matthew@actweb.net>, <freebsd-isp@FreeBSD.ORG>
Subject:   Re: pw & passwords
Message-ID:  <4.3.2.7.2.20000918012706.0f712f38@mail.mikesweb.com>
In-Reply-To: <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
Matthew,

Thanks! Just what I needed. =)

Mike

At 04:21 PM 9/18/2000 +1000, Matthew Horoschun wrote:
> > 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



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?4.3.2.7.2.20000918012706.0f712f38>