set user <username> [password <password> [old-password <old-password>]]
Set the password for the specified user. If you do not specify the password on the command line, you will be prompted for it. For details on setting passwords during installation, see the NSX-T Installation Guide.
C is corecct.
URL:https://docs.pivotal.io/pks/1-5/nsxt-install-update-password.html
(Quote)
Update the admin password
To update the user password, use the following command:
set user USERNAME password NEW-PASSWORD old-password OLD-PASSWORD.
For example:
set user admin password my-new-pwd old-password my-old-pwd
C is the right answer as per the NSX-T command line reference:
set user <username> [password <password> [old-password <old-password>]]
Set the password for the specified user. If you do not specify the password on the command line, you will be prompted for it. For details on setting passwords during installation, see the NSX-T Installation Guide.
Option Description
<username> Username of user
<password> Password of user
<old-password> Current password of user
Example
nsx> set user admin password NewPass789! old-password Testing123$
nsx>
or
nsx> set user admin password NewerPass789!
Current password:
nsx>
or
nsx> set user admin
Current password:
New password:
Confirm new password:
nsx>
https://vdc-download.vmware.com/vmwb-repository/dcr-public/0aa6ceb3-9f71-44f5-bef6-d4acab570b55/382a3731-d45e-43c1-ba0b-f98b64899e9c/nsxt_24_cli.html#set%20user%20%3Cusername%3E%20[password%20%3Cpassword%3E%20[old-password%20%3Cold-password%3E]]
Page 250: https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.2/nsxt_32_install.pdf
The correct answer should be C
https://docs.pivotal.io/tkgi/1-13/nsxt-install-password.html#:~:text=Update%20the%20Admin%20Password,old-password%20OLD-PASSWORD.
https://docs.vmware.com/en/VMware-NSX-T-Data-Center/3.0/administration/GUID-DB31B304-66A5-4516-9E55-2712D12B4F27.html
nsx> set user admin password
Current password:
New password:
Confirm new password:
nsx>
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Amycert
2 years, 1 month agofylingfish
2 years, 1 month agoraimy
2 years, 2 months agoerg
2 years, 5 months agorobbrown2
2 years, 6 months agosamolot1
2 years, 6 months agoAngegardien
2 years, 6 months agoholdmont
2 years, 6 months agobookreader
2 years, 7 months agoholdmont
2 years, 7 months ago