Hi SAS Community, Need your help on how to update the password on the "Display LIBNAME Statement" of sas library on SMC. The password is encrypted yes but that one I know how to encrypt using pwencode. The question is, where to update the password?
Correct, the displayed password is dependent on who is logged in to SAS Management Console. When you store a password in Metadata, the way it is encrypted on disk is set in the omaconfig.xml file using the STOREPASSWORDS option. By default I believe this is SAS005 or AES with a 64 bit salt and 10000 iterations.
The "Display LIBNAME Statement" function generates what it displays dynamically. So if you are logged in to SAS Management Console as User A, it would show the password accessible to User A. The password would be stored either under the user directly (User's Properties -> Accounts tab), or a group the user is a member of.
-- Greg Wootton | Principal Systems Technical Support Engineer
Thank you, so it depends who logged in and run the display libname statement.
Oh I see, accounts tab is where will I update the password but from there I dont see any encryption options so I assume it will automatically encrypt it?
I see your LIBNAME connects to SQL Server. Are you intending to have a static user/password for all data connections to this server because that looks like the way you have set this up?
Correct, the displayed password is dependent on who is logged in to SAS Management Console. When you store a password in Metadata, the way it is encrypted on disk is set in the omaconfig.xml file using the STOREPASSWORDS option. By default I believe this is SAS005 or AES with a 64 bit salt and 10000 iterations.
-- Greg Wootton | Principal Systems Technical Support Engineer
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.