From: Martin Herren (sputnik_at_on-the-web.ch)
Date: Tue Dec 24 2002 - 10:28:17 CET
Date: Tue, 24 Dec 2002 10:28:17 +0100 From: Martin Herren <sputnik@on-the-web.ch> Message-Id: <20021224102817.18d35784.sputnik@on-the-web.ch> Subject: Re: [suse-sparc] useradd problems
On Tue, 24 Dec 2002 05:55:19 +0000
M Hoskison <matth@room41.com> wrote:
> RedHat allows you to pipe a password into useradd by using the --stdio
> switch. SuSE 7.3 for Sparc doesn't permit this option, nor does it appear to
> present one similar. Could anyone suggest an alternative that allows a script
> (PHP shell_exec()'ing bash, but that should be immaterial) to create a user
> account and set its password?
create the account with useradd, and to change/create the password in batch, you can use chpasswd
hth
Martin
-- Open your Windows - Free your Mind - Enjoy http://gnuwin.epfl.chMartin Herren +41 (0)79 746 57 83 OpenPGP Public key @ http://www.on-the-web.ch/sputnik/gpg.asc
This archive was generated by hypermail 2.1.4 : Tue Dec 24 2002 - 10:28:29 CET