On Tue, Jan 23, 2001 at 12:21:39PM +1000, "WILLIAMS, Jeff" 
<[EMAIL PROTECTED]> wrote:
> I am about to put 4.1b3 to the test on a network with 1200+ users.

That's what we like to hear.

> I dont want to create each account automatically so can someone tell me an
> easy of creating these accounts in madd.  say passing the paramaters that
> would be on the web page (for user creation) to a PHP script and have all
> accounts created wit a default password (passed as a paramater).

Create /home/e-smith/accounts - it's a text file. Create an account
through the manager and then look at the entry created and make lots like that.
Then call:

/sbin/e-smith/signal-event user-create {user}

for each user in the file. The accounts will all be locked until the
password is set by the administrator.

Setting the password automatically is insecure as you have a plain text copy
of the password stored, at least in the creation script. However, calls
to esmith::util::setUserPassword($user, $password) will do what you want.

I'm sure there are plenty of people on the list who could do this for you.
It's fairly easy, but we just don't have much spare time at the moment :-)

> I am new to Linix(e-smith) and still learning.  If this works it will be
> recommended as an alternative to NT and exchange for use in a school
> environment.

Sounds great.

Gordon
--
  Gordon Rowell                         [EMAIL PROTECTED]
  http://www.e-smith.org (development)  http://www.e-smith.com (corporate)
  Phone: +1 (613) 564 8000 ext. 4378    Fax: +1 (613) 564 7739
  e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

Reply via email to