Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Securing vShield Zones CLI user accounts and the Privileged mode
Details
The CLI admin account and password are separate from the vShield Manager user interface admin account and password. You should create a new CLI user account and remove the admin account to secure access to the CLI.
Also, you should change the Privileged mode password for each vShield Zones virtual appliance. The CLI admin account password and the Privileged mode password are managed separately. The Privileged mode password is the same for each CLI user account.
IMPORTANT: Each vShield Zones virtual appliance has two built-in CLI user accounts for system use: nobody and vs_comm. Do not delete or modify these accounts. If these accounts are deleted or modified on a vShield Zones virtual appliance, the virtual appliance will not work.
Solution
User account management in the vShield Zones CLI conforms to the following rules:
- You can create CLI user accounts. Each created user account has administrator-level access to the CLI.
- You cannot change the password for any CLI user account. If you need to change a CLI user account password, you must delete the user account, and then re-add it with a new password.
You can change the Privileged mode password at any time.
To secure CLI access to each vShield Zones virtual appliance, you should add a user account with a secure password and delete the admin account on each vShield Zones virtual appliance.
- Log in to the vSphere Client
- Select a vShield Zones virtual appliance from the inventory.
- Click the Console tab to open a CLI session.
- Log in by using the admin account.
manager login: admi n
password: - Enable Privileged mode.
manager> enable
password: - Enable Configuration mode.
manager# configure terminal
- Add a new user account. The following command creates the user account root with the password abcd1234.
manager(config)# user root password plaintext abcd1234
- Save the configuration.
manager(config)# write memoryBuilding Configuration...Configuration saved.[OK]
- Run the exit command twice to log out of the CLI.
manager(config)# exitmanager# exit
- Log in to the CLI by using the root user account.
- Enable Privileged mode.
- Enable Configuration mode.
- Delete the admin user account.
manager(config)# no user admin
- Save the configuration.
- Run the exit command twice to log out of the CLI.
To change the Privileged mode password:
- Log in to the vSphere Client.
- Select a vShield Zones virtual appliance from the inventory.
- Click the Console tab to open a CLI session.
- Log in to the CLI.
- Enable Privileged mode.
- Enable Configuration mode.
- Change the Privileged mode password. The following command changes the password to abcd1234.
manager(config)# enable password plaintext abcd1234
- Save the configuration.
- Run the exit command twice to log out of the CLI.
- Log in to the CLI.
- Enable Privileged mode by using the new password.
Actions
- KB Article: 1012479
- Updated: Aug 14, 2009
- Products:
VMware vShield Zones - Product Versions:
VMware vShield Zones 1.0.x

