FS#43149 - [plasma-workspace] missing /etc/pam.d/kde

Attached to Project: Arch Linux
Opened by Matthias Dienstbier (fs4000) - Thursday, 18 December 2014, 10:45 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 22 December 2014, 07:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Plasma-workspace is missing /etc/pam.d/kde. When the screen got locked I could not unlock it because I have pam_deny in /etc/pam.d/other. The one from kdebase-workspace should be fine.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 22 December 2014, 07:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  plasma-workspace 5.1.2-2
Comment by Andrea Scarpino (BaSh) - Thursday, 18 December 2014, 16:36 GMT
I'm not a PAM expert, but I thought only DM should provide that file.
How to log into Plasma? I use SDDM and I've no issue with it.
Comment by Matthias Dienstbier (fs4000) - Thursday, 18 December 2014, 21:05 GMT
When you lock the screen (K-menu -> Leave -> Lock) you need to enter your password to unlock. This will use PAM and /etc/pam.d/kde for configuration. As we do not have /etc/pam.d/kde in plasma-workspace PAM will fall back to /etc/pam.d/other which will default to pam_unix so everything seems to work. But I have changed /etc/pam.d/other to pam_deny which denies access to unknown services. However this will render the Plasma lock screen unable to unlock the screen as PAM just denies every request.
Comment by Matthias Dienstbier (fs4000) - Sunday, 21 December 2014, 16:02 GMT
  • Field changed: Percent Complete (100% → 0%)
The provided file is incorrect. We do not have pam_console, pam_selinux and postlogin. I guess it is from Fedora. You should take our kde.pam from kdebase-workspace.

Loading...