vcsencrypt - generate encrypted passwords for use in VCS configurations
vcsencrypt -agent -secinfo
vcsencrypt -gensecinfo [-force]
The vcsencrypt command can be used to generate encrypted passwords. The utility prompts the user to enter a password and returns an encrypted password to the user. Encrypted passwords can be used when editing the VCS configuration file main.cf to add VCS users, or when configuring agents require user password information.
-vcs Prompts for VCS user password and returns the password in an encrypted form that can be entered manually in the main.cf file. This option need not be used when adding users by using the hauser -add command or via Cluster Manager. -agent Prompts for user password and returns password in encrypted form. The encrypted password can be entered manually in the main.cf file as a value for a given resources password attribute. The encrypted password can also be dynamically entered as an attribute value from the command line when modifying resource attributes. -gensecinfo [-force] Prompts for user passphrase, creates a security key, and populates cluster attribute SecInfo to store the security key. This security key is used to encrypt agent passwords by using the -agent -secinfo command. The -force command overwrites the security key that you created earlier. If you change the security key using the -force option, make sure you reencrypt all the passwords that you created using the new security key.
See Cluster Server Administrators Guide for more information.
-agent -secinfo Prompts for user password and returns the password in encrypted form. The password is encrypted using the security key that was generated using the -gensecinfo [-force]. The encrypted password can be entered manually in the main.cf file as a value for a given resources password attribute. The encrypted password can also be dynamically entered as an attribute value from the command line when modifying resource attributes. [-help] Displays information about this command.
# vcsencrypt -agent Enter New Password: Enter Again: hvpVqvR
Since users entry is a password, it is not displayed on the console.
Copyright (c) 2016 Veritas.
All rights reserved.