FS#24716 - [openssh] add consolekit to pam.d/sshd

Attached to Project: Arch Linux
Opened by Sébastien Luttringer (seblu) - Tuesday, 14 June 2011, 00:41 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 14 June 2011, 16:54 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We should add at the end of /etc/pam.d/sshd the following line :

-session optional pam_ck_connector.so nox11

This will allow user of consolekit to detect correctly ssh sessions.

Regards,
This task depends upon

Closed by  Gaetan Bisson (vesath)
Tuesday, 14 June 2011, 16:54 GMT
Reason for closing:  Implemented
Additional comments about closing:  openssh-5.8p2-8 in [testing]
Comment by Ionut Biru (wonder) - Tuesday, 14 June 2011, 06:35 GMT
i'm not familiar with pam but /etc/pam./login is only for local console login?
Comment by Gaetan Bisson (vesath) - Tuesday, 14 June 2011, 16:37 GMT
Ionut: Yes, /etc/pam.d/login is not used by sshd. (We cannot simply include it in /etc/pam.d/sshd as some options are quite different, such as root login.)

I agree with Sebastien's suggestion and I will push an updated package to [testing] soon.

Loading...