diff --git a/python-libmount.changes b/python-libmount.changes index f388bb8..0afc358 100644 --- a/python-libmount.changes +++ b/python-libmount.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 8 21:04:34 CEST 2014 - sbrabec@suse.cz + +- Install runuser and runuser-l PAM file + (runuser.pamd, bnc#892079). + ------------------------------------------------------------------- Wed Sep 3 16:21:57 CEST 2014 - sbrabec@suse.cz diff --git a/python-libmount.spec b/python-libmount.spec index f67afdd..cb38091 100644 --- a/python-libmount.spec +++ b/python-libmount.spec @@ -141,6 +141,7 @@ Source10: su.pamd Source11: su.default Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign Source13: %{_name}.keyring +Source14: runuser.pamd # TODO: split to separate package Source40: klogconsole.tar.bz2 # XXX: Run a program in a new session and with controlling tty @@ -626,6 +627,8 @@ mkdir -p %{buildroot}{%{_sysconfdir}/{init.d,pam.d,default},%{_mandir}/man{1,8}, install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote +install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser +install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l %if %{with enable_su} install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l @@ -885,6 +888,8 @@ fi %config(noreplace) %{_sysconfdir}/blkid.conf %config(noreplace) %{_sysconfdir}/pam.d/login %config(noreplace) %{_sysconfdir}/pam.d/remote +%config(noreplace) %{_sysconfdir}/pam.d/runuser +%config(noreplace) %{_sysconfdir}/pam.d/runuser-l %if %{with enable_su} %config(noreplace) %{_sysconfdir}/pam.d/su %config(noreplace) %{_sysconfdir}/pam.d/su-l diff --git a/runuser.pamd b/runuser.pamd new file mode 100644 index 0000000..15d79c9 --- /dev/null +++ b/runuser.pamd @@ -0,0 +1,5 @@ +#%PAM-1.0 +# Note that runuser requires only "session" setting (and for example "auth sufficient pam_rootok.so" dummy line). +auth sufficient pam_rootok.so +session include common-session +session optional pam_xauth.so diff --git a/util-linux-systemd.changes b/util-linux-systemd.changes index f388bb8..0afc358 100644 --- a/util-linux-systemd.changes +++ b/util-linux-systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 8 21:04:34 CEST 2014 - sbrabec@suse.cz + +- Install runuser and runuser-l PAM file + (runuser.pamd, bnc#892079). + ------------------------------------------------------------------- Wed Sep 3 16:21:57 CEST 2014 - sbrabec@suse.cz diff --git a/util-linux-systemd.spec b/util-linux-systemd.spec index c7e7a82..f65182a 100644 --- a/util-linux-systemd.spec +++ b/util-linux-systemd.spec @@ -141,6 +141,7 @@ Source10: su.pamd Source11: su.default Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign Source13: %{_name}.keyring +Source14: runuser.pamd # TODO: split to separate package Source40: klogconsole.tar.bz2 # XXX: Run a program in a new session and with controlling tty @@ -626,6 +627,8 @@ mkdir -p %{buildroot}{%{_sysconfdir}/{init.d,pam.d,default},%{_mandir}/man{1,8}, install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote +install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser +install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l %if %{with enable_su} install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l @@ -885,6 +888,8 @@ fi %config(noreplace) %{_sysconfdir}/blkid.conf %config(noreplace) %{_sysconfdir}/pam.d/login %config(noreplace) %{_sysconfdir}/pam.d/remote +%config(noreplace) %{_sysconfdir}/pam.d/runuser +%config(noreplace) %{_sysconfdir}/pam.d/runuser-l %if %{with enable_su} %config(noreplace) %{_sysconfdir}/pam.d/su %config(noreplace) %{_sysconfdir}/pam.d/su-l diff --git a/util-linux.changes b/util-linux.changes index f388bb8..0afc358 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 8 21:04:34 CEST 2014 - sbrabec@suse.cz + +- Install runuser and runuser-l PAM file + (runuser.pamd, bnc#892079). + ------------------------------------------------------------------- Wed Sep 3 16:21:57 CEST 2014 - sbrabec@suse.cz diff --git a/util-linux.spec b/util-linux.spec index 4bf720a..9406d50 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -141,6 +141,7 @@ Source10: su.pamd Source11: su.default Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign Source13: %{_name}.keyring +Source14: runuser.pamd # TODO: split to separate package Source40: klogconsole.tar.bz2 # XXX: Run a program in a new session and with controlling tty @@ -626,6 +627,8 @@ mkdir -p %{buildroot}{%{_sysconfdir}/{init.d,pam.d,default},%{_mandir}/man{1,8}, install -m 644 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote +install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser +install -m 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/runuser-l %if %{with enable_su} install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l @@ -885,6 +888,8 @@ fi %config(noreplace) %{_sysconfdir}/blkid.conf %config(noreplace) %{_sysconfdir}/pam.d/login %config(noreplace) %{_sysconfdir}/pam.d/remote +%config(noreplace) %{_sysconfdir}/pam.d/runuser +%config(noreplace) %{_sysconfdir}/pam.d/runuser-l %if %{with enable_su} %config(noreplace) %{_sysconfdir}/pam.d/su %config(noreplace) %{_sysconfdir}/pam.d/su-l