View Issue Details

IDProjectCategoryView StatusLast Update
0004720Rocky-Linux-9pampublic2023-11-14 17:07
ReporterAndy Wang Assigned To 
Status newResolutionopen 
Platformx86_64OSRocky LinuxOS Version9.2
Summary0004720: echoes the message twice for sshd
DescriptionThe pam_echo module in sshd's configuration should result in the specified text to be printed upon connecting to the machine via SSH. However, on Rocky Linux 9, the message is duplicated.

My `/etc/pam.d/sshd`:
auth substack password-auth
auth include postlogin
account optional foobar
account required
account required
account include password-auth
password include password-auth
# close should be the first session rule
session required close
session required
# open should only be followed by sessions to be executed in the user context
session required open env_params
session required
session optional force revoke
session optional
session include password-auth
session include postlogin
Steps To Reproduce1. Edit `/etc/pam.d/sshd`, add line `account optional foobar` under the existing `auth include postlogin` line
2. SSH into the machine
3. "foobar" will be printed to stderr twice
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-11-09 16:58 Andy Wang New Issue