I want to make sure that only one fallback user is configured in our devices. With RME Compliancy managemen I would like to check if any other fallback usernames are configured then our standard fallback user. I assume that it should be something like:
- username [#!fallbackusername .*]or
- [#!username fallbackusername .*#]
But these doesn't do the trick.
The problem is that it's a negative rule (should not exsist), and the default username we use must be negated (other than fallbackusername). Besides that, the rule contains wildcards because passwords are encrypted, and thus random in devices.
Does anyone have any ideas?
Thanks very much.
Chances are the bad username has a different number of characters that the good username. Try this:
+ [#username fallbackusername .*#]
- [#username (?!fallbackusername)\b.*#]