alter user

Changes a user’s password.

Syntax

alter user user
   set password {new_passwd | null}
   [verify password old_passwd]

Parameters

Examples

Usage

  • If your Replication Server uses ERSSD, you can change the ERSSD primary user password using the alter user command:

    alter user user
    set password new_passwd

    If this user name matches the ERSSD primary user name, ERSSD updates the rs_users table, issues sp_password at ERSSD to change the password, and updates the configuration file line RSSD_primary_pw.

  • Users with “sa” permission can omit the verify password clause. Other users must provide this clause in order to change their own passwords.

Permissions

alter user requires "sa" permission when altering another user’s password.

Related reference
create user
drop user