Reference Guide
...
Password Vault
Configuration Properties to Execute Commands After Changing Passwords
after changing passwords, executing some commands might be needed in some specific cases, such as killing active sessions in the device that were started with the previous password for these commands to be executed the following properties must be set in the configurations with ssh and smb strategies post command the commands that are to be executed on the server after a successful password change multiple commands can be separated with \n characters post command failure pattern if the pattern defined in this property is found in the “post command” results, the command is accepted as "failed", and command execution is stopped the remaining commands are not executed if the “post command stop on fail” property is set as “true” post command stop on fail when the property value is set as “true”, if any failure occurs during post command execution, the remaining commands are not executed the default value is “false” execute post command with super user if it is set as “true”, the super user credentials defined by the “super username” and “super password” properties are used to run the commands after the password change the default value is “false”, meaning the sapm account username and password are used to run the commands after the password change when using an ssh strategy the last command in the post command property must be a logout command windows example post command net stop dnscache\nnet start dnscache post command failure pattern invalid post command stop on fail false execute post command with super user true linux example post command systemctl restart rsyslog\nlogout post command failure pattern failed post command stop on fail true execute post command with super user true