Removing users from OpenStack Identity is a simple one step process. In this example, we will show how to delete a user named oldreader
.
Ensure that you are logged on to a correctly configured OpenStack client and can access the OpenStack environment as a user with admin privileges.
Refer to Chapter 2, The OpenStack Client, for details of setting up your environment to use OpenStack command-line client.
In order to delete a user, execute the following commands:
- Get the user's name from the users in a current domain:
- Delete the
oldreader
user:This command will have no output.
Deleting unnecessary users is simple when using OpenStack command-line tool. Start with a command to get existing users:
Delete a user by executing the following:
Here the <user>
parameter can be either user ID or username.
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.