Troubleshooting and Maintenanc...
...
Solutions for Common Issues
Issues Encountered in SSH/Teln...
Password is not recognized by Kron PAM
1min
When you run a command that requires typing the password as “sudo su” or “mysqlrouter --bootstrap”, Kron PAM expects a predefined password prompt. The expected password prompt should match with the defined regex in the Element Type Properties.
Steps to Fix:
Take the following steps to troubleshoot:
- Navigate to Device Management > Element Type.
- On the related element type, click the Options menu > Show Properties.
- Add the enforcer.terminal.behaviour.exc_last_line_patterns element type property with a proper regex with the password prompt.
.*password.*:.* regex should match the password prompt of commands. You can check whether it matches on a 3rd party website.