Commit f18ae5c4 authored by Rex Dieter's avatar Rex Dieter
Browse files

merge f19-specific pam config

parent 252043ec
#%PAM-1.0
auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth required pam_env.so
auth substack system-auth
-auth optional pam_gnome_keyring.so
-auth optional pam_mate_keyring.so
-auth optional pam_kwallet.so
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
-session optional pam_ck_connector.so
session required pam_selinux.so open
session optional pam_keyinit.so force revoke
session required pam_namespace.so
-session optional pam_gnome_keyring.so auto_start
-session optional pam_mate_keyring.so auto_start
-session optional pam_kwallet.so
session include system-auth
session optional pam_lastlog.so silent
session include postlogin
......@@ -13,6 +13,7 @@ URL: https://launchpad.net/lightdm/
Source0: https://launchpad.net/lightdm/1.10/%{version}/+download/lightdm-%{version}.tar.xz
Source1: lightdm.pam
Source10: lightdm.pam.f19
Source2: lightdm-autologin.pam
Source3: lightdm-tmpfiles.conf
Source4: lightdm.service
......@@ -150,7 +151,11 @@ rm -rfv %{buildroot}%{_sysconfdir}/apparmor.d/
rm -rfv %{buildroot}%{_sysconfdir}/init
# install pam file
%if 0%{?fedora} == 19
install -Dpm 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/lightdm
%else
install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/lightdm
%endif
install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/lightdm-autologin
install -Dpm 644 %{SOURCE3} %{buildroot}%{_prefix}/lib/tmpfiles.d/lightdm.conf
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment