AUTHLIB Procedure

Example 6: Changing Metadata-Bound Library Passwords

Features:
MODIFY Statement and Options:
SECUREDLIBRARY=
SECUREDFOLDER=
PW=

Details

If you believe that the metadata-bound library passwords have been compromised, use the MODIFY statement to modify the library passwords. The following code changes the library passwords and the data set passwords of all data sets in the library that contain the specified passwords.

Program

proc authlib lib=abcde; 
   modify securedlibrary="ABCDEEmps" 
      securedfolder="Department XYZZY" 
      pw=secretpw/newpassd;  
run; 
quit;

Log

The preceding code changed the library passwords and the data set passwords of all data sets in the library with those passwords. An error message is displayed for any data set with different passwords.
Changing Metadata-bound Library Passwords
217  proc authlib lib=abcde;
218    modify securedlibrary="ABCDEEmps"
219        securedfolder="Department XYZZY"
220        pw=XXXXXXXX/XXXXXXXX;
221
222  run;

NOTE: The passwords for the secured library object with path "/System/Secured Libraries/Department
      XYZZY/ABCDEEmps" were successfully modified."
NOTE: The passwords on ABCDE.EMPINFO.DATA were successfully modified.
NOTE: The passwords on ABCDE.EMPLOYEES.DATA were successfully modified.
NOTE: The passwords on ABCDE.PRODUCT.DATA were successfully modified.
223  quit;

NOTE: PROCEDURE AUTHLIB used (Total process time):
      real time           0.09 seconds
      cpu time            0.03 seconds