Re: useradd/adduser
From: Sheldon Hearn (sheldonh@uunet.co.za)
Date: 05/02/01
- Next message: Anton Berezin: "Re: useradd/adduser"
- Previous message: Peter Pentchev: "Re: useradd/adduser"
- In reply to: Lee Smallbone: "useradd/adduser"
- Next in thread: Anton Berezin: "Re: useradd/adduser"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: lee@kechara.net Date: Wed, 02 May 2001 16:13:19 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za>
On Wed, 02 May 2001 15:12:01 +0100, Lee Smallbone wrote:
> Is there any way to use adduser in a non-interative state (run from
> scripts)?
Yes, with the pw(8) command. If your scripts gain knowledge of the
passwords for accounts somewhere, you can feed the passwords to pw(8)
using its -h option.
Don't be daunted by the manual page. It's pretty easy going once you've
gotten past the synopsis. :-)
Ciao,
Sheldon.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- Next message: Anton Berezin: "Re: useradd/adduser"
- Previous message: Peter Pentchev: "Re: useradd/adduser"
- In reply to: Lee Smallbone: "useradd/adduser"
- Next in thread: Anton Berezin: "Re: useradd/adduser"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|