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"
Environment
Observed with PAM 3.2. The problem also exists in PAM 3.1.1.
Cause
The visudo command incorrectly was treated like the sudo command and modified for transparent login purposes.
Resolution
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.