Currently, all delivered by VMware Appliance is based on SUSE Linux Enterprise. In most cases, defined by VMware users have expiring passwords. This also applies to passwords administered during the deploying of the appliance (eg initial root and postgres password for vPostgres). Apart from security policies used in our production environments, in the Lab each time changing the user’s password to log in via SSH can be very tiring. This process can be very quickly improved.
Log in as the root user to the Appliance. Password expiration parameters for newly created users (PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_AGE) are located in the /etc/login.defs. For existing users, the change can only occur with the chage command.
In addition, we can in the file /etc/pam.d/common-password-vmware.local set the parameter remember=0 (number of stored passwords). Parameters can be set in any configuration (eg after setting remember=0 every 60 days can be administered the same password at change), the change does not result in the need to restart the service or the entire appliance.
And that’s it, a simple change and what functional
Was this information is helpful? Tell me, please leave a comment!