change local root password expire

  • login with ssh to vcsa appliance and start bash shell:
    Command> shell.set --enabled True
    Command> shell
  • first get info about root account:
    vcsa70:~ # chage -l root
    Minimum:        0
    Maximum:        99999
    Warning:        7
    Inactive:       -1
    Last Change:            Mar 26, 2021
    Password Expires:       Mar 27, 2021
    Password Inactive:      Never
    Account Expires:        Never
  • disable expire with
    vcsa70:~ # chage -M -1 root
    Aging information changed.
  • check account:
    vcsa70:~ # chage -l root
    Minimum:        0
    Maximum:        -1
    Warning:        7
    Inactive:       -1
    Last Change:            Mar 26, 2021
    Password Expires:       Never
    Password Inactive:      Never
    Account Expires:        Never


Authors:
  • Jochen Schnuerle