PAM module's pam_echo messages are printed twice on console
I'm using PAM (Pluggable Authentication Modules) for authentication in my Linux system and I'm encountering an issue where messages from pam_echo are being printed twice on the console.
Here's my PAM configuration: Code:
auth required pam_echo.so test1 Additionally, if I initially input an incorrect password and then subsequently provide the correct one, the messages are displayed three times, which is not the expected behavior. Interestingly, when I use the ssh -q command, which suppresses non-error messages, each message is displayed only once, as originally intended. I've checked and confirmed that each pam_echo line in the configuration is only being executed once, so I'm not sure why the messages are being printed twice. Does anyone know why this might be happening and how I can ensure that the messages are only printed once? I attempted to SSH into a host using a test user, with the expectation that the messages from my PAM configuration would only appear once on the console. Here's the command I used: Code:
ssh dummy@<host> Code:
dummy@<host>'s password: Code:
dummy@<host>'s password: |
All times are GMT -5. The time now is 02:02 PM. |