![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I'm trying to create multiple VMS accounts using the adduser script. Is there a way to create multiple accounts from a text file using the adduser script. Thanks, Ubaldo... The Answer is : It would be trivial to write your own DCL procedure to perform this task, and far easier than extending and calling ADDUSER.COM. Here is some DCL derived from the central core of ADDUSER.COM: $ close/nolog file $ open/write file sys$scratch:adduaf.tmp $ write file "$ RUN SYS$SYSTEM:AUTHORIZE" $ write file "ADD ",username,"/OWN=""",full_name,"""/ACCO=",account,- "/DEV=''userdisk'/DIR=[''userdir']/UIC=",uic,privs,"/PASSW=",password,- "/FLAG=NODISUSER" $ close file $ @sys$scratch:adduaf.tmp
|