VCSA disable password expiration and change expired password

Log in to your VCSA’s console through  SSH or directly.

issue this commnad to check the root state : 
passwd -S root
This is the output

This is the meaning :

sudo grep root /etc/shadowif there is a “*” or “!” after “root:”  the account is disable!!

Finally, to check if is it disable, type this command:

Anyway, we proceed to disable the expiration…
First I change the root password to ensure that the web interface doen’t ask me to change it thought the UI.
type “passwd root” and type a new password..

now go to the web ui 

go to Administration..

Set “password Expiration Settings” to “NO” and submit.

so now as you can see, it never expire..

That’s it !

Leave a Reply

Your email address will not be published. Required fields are marked *