E-Business Server:How to change the User ID for a key pair in E-Business Server

From SDS
Jump to navigation Jump to search



How to change the User ID for a key pair in E-Business Server

Technical Articles ID: SDSKB14


Environment
E-Business Server 8.x and 7.x


Problem
You need to perform one of the following actions:

  • Adding a new User ID to a key pair E-Business Server
  • Changing the User ID for a key pair in E-Business Server
  • Removing a User ID from a key pair in E-Business Server
  • Viewing all User IDs

Solution

Adding another UserID

Type the following command and press ENTER:

ebs --key-edit <userID> --add-userid <new userID>

The first <userID> is the key to which you want to add the ID.

E-Business Server prompts for your passphrase.

Type your passphrase, and press ENTER.

E-Business Server adds the new user ID to your key.


Changing the UserIDAfter you have added a new UserID you might want to set it as the primary and remove the old one. To do this:

Type the following command and press ENTER:

 ebs --key-edit <userID> --set-primary-userid <new primary userID>

E-Business Server prompts for your passphrase.

Type your passphrase, and press ENTER.

E-Business Server sets the requested user ID as your primary user ID.


Removing a UserIDType the following command and press ENTER to remove the UserID:

ebs --key-edit <userID> --remove-userid <userID to remove>

E-Business Server removes the user ID from your key.


Viewing all UserIDsType the following command and press ENTER:

ebs --key-list --with-userids