dom at happygiraffe.net
Mon Jul 31 20:23:29 BST 2000
On Mon, Jul 31, 2000 at 11:52:15AM +0100, Steve Greenshaw wrote:
> I've just got a 3.4 server up and running to act as a mail server for
> over 8000 users. Previously this was a 2.2.5 server and I had a script
> that allowed me to take the contents of a file and add users from
> that, one line at a time, automatically. Each user is on one line as:
> However, the '-batch' option has been removed from 'adduser' and I
> can't get my script to work. Although I can add all the users using a
> script and 'pw', I cannot set passwords (?) and would have to also run
> Does anyone know of / have a utility for adding users 'in bulk'?
To set the passwords, look at the autopasswd utility that comes with the
expect port (lang/expect). It lets you change a password on the command
Once you know expect, you'll wonder how you lived without it!
Try Zope! http://www.zope.org/
More information about the Ukfreebsd