On Mon, 3 Jun 1996, mark landin wrote:
> We sometimes want to change user passwords for, say, [log in to unmask] I'm a lazy
> guy and don't want to type an ALTUSER command for each one of these users.
> Using MPEX, I wanted to say ALTUSER TEST.@;PASS=xxxx. Well, you can't do
> that (yet). Looking thru the manual, I see the %REPEAT....FORRECS command.
> Aha! If I can get a list of the TEST.@ users into a file, I'm set.
>
> OK, so I do this (in MPEX, obviously):
>
> %PURGE USERLIST,temp
> %LISTUSER TEST.@,USERLIST;FORMAT=BRIEF
> %repeat
> >   ALTUSER !curruser;pass=xxxx
> >forrecs curruser=userlist,oldtemp
 
VESoft also has a product called VEAudit that will allow you to type
the following within MPEX
 
 -->VEAUDIT ALTUSER TEST.@;PASS=XXX
 
That is probably why you do not see this as part of MPEX.
 
As far as redirected output from LISTUSER, I have had no problems
with the following:
 
 -->FILE X;DEV=DISC;REC=-80,16,F,ASCII;NOCCTL
 -->LISTUSER TEST.@;FORMAT=BRIEF   >*
 
There are no NULL characters at the beginning of the temp file X.
 
Regards,
 
John Joerger                    Press-Telegram (Long Beach)
[log in to unmask]             http://www.ptconnect.com