visudo command not working in SSH access method on PAM
search cancel

visudo command not working in SSH access method on PAM


Article ID: 108065


Updated On:


CA Privileged Access Manager - Cloakware Password Authority (PA) CA Privileged Access Manager (PAM)


An access policy is configured with SSH access to a target device and transparent login for the sudo command.
After accessing the target device using the SSH applet and running the  “sudo su” command to become root, the “visudo” command is not working. When we run the command we get an error like "bash: viecho: command not found" followed by usage text.
If you recall the last command after that, it shows something like "viecho XGK#934; /usr/bin/sudo"


Observed with PAM 3.2. The problem also exists in PAM 3.1.1.


The visudo command incorrectly was treated like the sudo command and modified for transparent login purposes.


This issue has been resolved by applying hot fix CA PAM_3.2.0.04, which can be requested from PAM support. The fix is expected to be included in the upcoming 3.2.2 and 3.1.3 maintenance releases.