You could basically use the batch file I posted the other day.
I left out one switch, but as it turns out...

adduser -mod -u %1 -h %3 -p %2

Drop this in a batch file and then call it with parameters.

chgpass.bat username password mail.host.com

Where %1 = username, %2 = password and %3 = hostname

Or you could simply flip them all out in the same file if you were
just doing host admins.

adduser -mod -u username -h mail.host.com -p password
adduser -mod -u username -h mail.host2.com -p password
adduser -mod -u username -h mail.host3.com -p password

Dusty

----- Original Message -----
From: "Peter Ngai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 02, 2000 11:39 AM
Subject: [IMail Forum] Changing passwords across mutiple domains


We have quite a few domains running on our IMail server. On all of the
domains we have the same username setup to be the host administrator. I was
wondering if anyone knew of a way to change the password for that username
on all of the domains in one swoop.

--
Peter Ngai
SISNA� WAN Engineer
[EMAIL PROTECTED]
http://www.sisna.com

Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

Reply via email to