I would like convert some ESX 3.5 scripts that implemented password restrictions to work on ESXi 5.
In ESX 3.5, I used the esxcfg-auth command which does not appear to be supported in ESXi 5.0, so I need the alternatives. I would like to require the user change his password every 60 days. On ESX 3.5, the command was esxcfg-auth --maxpassdays=60. I would like to know the equivalent command/file for ESXi 5. I also need to do --minpassdays=1. It feels like I should be able to change /etc/login.defs, but I don't know the parameter names.
I also need to implement the esxcfg-auth --usecrack=3 14 -2 -2 -2 -2 command. I assume I can make some edits to /etc/pam.d/passwd, to get most of these but I'm not sure where the 14 in that example goes. Appreciate any help.
Software/Hardware used:
ESXi 5.0 Busybox Linux
ASKED:
May 16, 2012 5:34 PM