Truncation is happening on the CLI prompt only when the CLI is inside of the config. mode and in the case of SPP Cisco IOS platform script is using a regex expression to match the hostname listed in CLI while in EXEC mode vs Config mode then that matching will fail.
The issue is not with the password change command itself which normally does not include the hostname but rather with matching the information on screen when using the regex expressions.
When the hostname is 20 characters or less then no change between Exec mode prompt and Config node prompt so the regex expressions matching hostnames will be valid.
Checking the logs there is the following error in the operation log when the hostname is greater than 20 characters.
2025-06-26T08:12:57.2144788+00:00 5c58aaca-5265-11f0-b30c-8ff094f10141 [Debug] (PID:6992 rSMS.WebService TID:246) {Hercules.Common.Expressions.ZExpressionEvaluator} Evaluating expression ["Regex.IsMatch(ReturnStatus, \"Only privilege level can be updated for existing usernames\")"] as <"Boolean">
A workaround for now would be to use hostnames that are less than 20 characters for Cisco devices
Enhancement Request #497803
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center