You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently in an ongoing action to configure a Password Rotation process for icinga local account..
The reason why we need to do this is because in our environment InfoSec does not allow local accounts with Password Never Expire flag enabled.
While working on the solution, re-purposing the already existing icinga powershell framework functions, i've noticed that on some servers this is failing. The reason is that the random char string generated for the new password is sometimes starting with "/" or "&"
I would suggest either having those 2 char excluded or have the function defined such that it would always starts with a letter of number.
This should be enough to avoid '/' and '&' from the string
Thank you for the report. This is fixed with v1.12.0.
To update the user, simply use
New-IcingaWindowsUser;
This command will update the password with every call and has now a built in retry count of 10, in case the password fails for some reason. The two ambiguous characters were removed from the random generator.
We are currently in an ongoing action to configure a Password Rotation process for icinga local account..
The reason why we need to do this is because in our environment InfoSec does not allow local accounts with Password Never Expire flag enabled.
icinga-powershell-framework/lib/core/windows/Get-IcingaRandomChars.psm1
Line 1 in 7a8a138
While working on the solution, re-purposing the already existing icinga powershell framework functions, i've noticed that on some servers this is failing. The reason is that the random char string generated for the new password is sometimes starting with "/" or "&"
I would suggest either having those 2 char excluded or have the function defined such that it would always starts with a letter of number.
This should be enough to avoid '/' and '&' from the string
This would ensure that the first char is always a lLetter or Number
The text was updated successfully, but these errors were encountered: