What to do when retiring a VMSECURE Manager ID?
search cancel

What to do when retiring a VMSECURE Manager ID?

book

Article ID: 450840

calendar_today

Updated On:

Products

VM:Secure for z/VM

Issue/Introduction

I have a VM:Secure manager who Is being retired.

What steps should I do accomplish this?

Is the a mass way to reassign rather than one-at-a-time?

Environment

z/VM

Resolution

In order to retire a VM:Secure Manager you need to reassign VM:Secure VMSECURE ASSIGN command to change the userid entry to a new directory manager. 


See the VMSECURE ASSIGN reference here


The command only will assign one user at a time to a new directory manager. 


So a simple rexx script could speed up the process. In this script I have two variables oldmanager and newdirectorymanager. These variables are to be replaced with the name of the old/new managers that you'd like to use.

 /* */                                                                                    
 ' PIPE CMS VMSECURE QUERY USERS * ( MANAGER oldmanager | SPEC 1-8| DROP 2 | STEM USERID. '
                                                                                          
 DO X=1 TO USERID.0                                                                       
'VMSECURE ASSIGN' USERID.X 'newdirectorymanager'                                                  
 END                                                                                      



You could also do this with a PIPE command. 

Example:

PIPE CMS VMSECURE QUERY USERS * ( MANAGER oldmanager | DROP 2 | SPEC /VMSECURE ASSIGN/ 1 1-8 nw /newmanager/ nw | COMMAND