In my previous blog I illustrated how I reset the root and sshuser accounts after the 60-day password expiration period in VMware Identity Manager (IDM) aka Workspace ONE.
In production, from a security perspective, that schedule makes sense and most organizations will be able to manage and rotate passwords on a regular schedule. Note, it’s not recommended to change this value in production environments.
However, in my lab environment, those requirements don’t apply…and I want to change those requirements, so I’m going to set the expiration out from 60 days to 999 days, effectively to a time so far out that the passwords won’t expire for almost 3 years (2.73699 to be exact).
This is easily done with the Linux passwd command.
passwd -x 999 root
Then I ran the same command for sshuser
passwd -x 999 sshuser

To verify, I can login to IDM and navigate to the systems diagnostic page:

And there it is…I’m good until October 31st, 2027.
That’s all for this blog! If you learned something or I helped you out in some way, please make a comment and let me know. Thanks!
Leave a Reply