[Mageia-dev] SSH PAM configuration
Johnny A. Solbu
cooker at solbu.net
Sun Aug 12 20:02:45 CEST 2012
On Sunday 12 August 2012 19:28, David Walser wrote:
> Through the PAM configuration for SSH shipped with the openssh-server package, root login is broken. Here's why. /etc/pam.d/sshd has:
> auth required pam_listfile.so item=user sense=deny file=/etc/ssh/denyusers
>
> The file /etc/ssh/denyusers has "root" in it by default.
I read somewhere some time ago that PermitRootLogin in sshd_config is ignored if PAM is used.
That may be the reason for this.
--
Johnny A. Solbu
PGP key ID: 0xFA687324
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/mageia-dev/attachments/20120812/51a43a7e/attachment.asc>
More information about the Mageia-dev
mailing list