NEWPASSWORD= LIBNAME Statement Option

Specifies a new password for an SPD Server user.

Valid in: SPD Server LIBNAME Statement
Alias: NEWPASSWD=
Note: Option to identify the server user.

Syntax

NEWPASSWORD='new-password'

Required Argument

'new-password'

the new password for the server user. The password, visible in a SAS program, is encrypted in the SAS log file.

Details

To change a password with the NEWPASSWORD= LIBNAME option, you specify both the old and new passwords in the LIBNAME statement. When ACL file security is enabled, the server validates the old or new password against its user ID table and changes the password if the validation succeeds.

Example

This example changes server user Receiver’s password from WhizBang to Rambo.
libname mylib sasspds 'spdsdata'
   user='receiver'
   password='whizbang'
   newpassword='rambo';

Note: If you are using LDAP user authentication, and you create a user connection that uses the NEWPASSWORD= LIBNAME statement option, the user password will not be changed. Follow the operating system procedures to change a user password. Then check with your LDAP server administrator to ensure that the LDAP database also records password changes.
Last updated: February 8, 2017