Failed executing command in VM <vm_name>, error: Failed to authenticate with the guest operation system using the supplied credentials
VMware Cloud Foundation
id backup
Sample Output
root@vcf [ /home/vcf ]# id backup
uid=1001(backup) gid=993(backup) groups=993(backup)
chage -l backup
Sample output
root@vcf [ /home/vcf ]# chage -l backup
Last password change : Apr 21, 2021
Password expires : Apr 21, 2022
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 365
Number of days of warning before password expires : 7
Password expires : Apr 21, 2022 > If you see here , it looks like the password was already expired
chage -I -1 -m 0 -M 99999 -E -1 backup
This command will change the make password expiry to never and set the minimum and maximum number of days between password change from 0 to 99999 so that we need not change the backup user account password every 365 days once.chage -l backup
Sample output
Last password change : Apr 21, 2021
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
Retry the password rotation for backup user