Using SQL Privileged Account for RPC
Overview
This document enables you to password change SQL accounts using a privileged account. This allows you to take over accounts without knowing their password.
Task 1: Creating an Account
- Open SQL Server Management Studio.
- Connect to your database server.
- Expand the root-level security folder.
- Right click the Logins folder.
- Click New login.
- Name the account.
- Click SQL Authentication.
- Go to Secret Server.
- Create a secret using the SQL Server Account template. Give it the same username as the login name you are creating.
- For best security, click the Generate button on the secret password field.
- Copy the generated password to the account creation wizard in SQL Server Management Studio.
- Click OK.
- Save your secret.
Task 2: Assigning Permissions
- Right click on the SQL login and click Properties.
- Select Securables in the left column.
- Select Grant for Alter any login.
Task 3: Using the Account
- In Secret Server, select the SQL account secret you are going to have represent your new privileged account.
- Select the Remote Password Changing tab and click Edit.
- Click the Change Password Using selection button and select Privilege Account Credentials.
- Click the No Selected Secret link.
- Find and select the secret created for the privileged account in the first task.
- Click the Save button.
- Click the Change password remotely button.
- Provide or generate a new password.
- Click the Change button. You have now successfully changed a SQL account password using a privileged account.