3
0
forked from pool/util-linux

Accepting request 249014 from Base:System

- Install runuser and runuser-l PAM file
  (runuser.pamd, bnc#892079). (forwarded request 248084 from sbrabec)

OBS-URL: https://build.opensuse.org/request/show/249014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=193
This commit is contained in:
Stephan Kulow 2014-09-28 17:53:30 +00:00 committed by Git OBS Bridge
commit ba96027d83
7 changed files with 38 additions and 0 deletions

View File

@ -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 Wed Sep 3 16:21:57 CEST 2014 - sbrabec@suse.cz

View File

@ -141,6 +141,7 @@ Source10: su.pamd
Source11: su.default Source11: su.default
Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign
Source13: %{_name}.keyring Source13: %{_name}.keyring
Source14: runuser.pamd
# TODO: split to separate package # TODO: split to separate package
Source40: klogconsole.tar.bz2 Source40: klogconsole.tar.bz2
# XXX: Run a program in a new session and with controlling tty # 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 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote 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} %if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
@ -885,6 +888,8 @@ fi
%config(noreplace) %{_sysconfdir}/blkid.conf %config(noreplace) %{_sysconfdir}/blkid.conf
%config(noreplace) %{_sysconfdir}/pam.d/login %config(noreplace) %{_sysconfdir}/pam.d/login
%config(noreplace) %{_sysconfdir}/pam.d/remote %config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
%if %{with enable_su} %if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su %config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l %config(noreplace) %{_sysconfdir}/pam.d/su-l

5
runuser.pamd Normal file
View File

@ -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

View File

@ -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 Wed Sep 3 16:21:57 CEST 2014 - sbrabec@suse.cz

View File

@ -141,6 +141,7 @@ Source10: su.pamd
Source11: su.default Source11: su.default
Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign
Source13: %{_name}.keyring Source13: %{_name}.keyring
Source14: runuser.pamd
# TODO: split to separate package # TODO: split to separate package
Source40: klogconsole.tar.bz2 Source40: klogconsole.tar.bz2
# XXX: Run a program in a new session and with controlling tty # 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 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote 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} %if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
@ -885,6 +888,8 @@ fi
%config(noreplace) %{_sysconfdir}/blkid.conf %config(noreplace) %{_sysconfdir}/blkid.conf
%config(noreplace) %{_sysconfdir}/pam.d/login %config(noreplace) %{_sysconfdir}/pam.d/login
%config(noreplace) %{_sysconfdir}/pam.d/remote %config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
%if %{with enable_su} %if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su %config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l %config(noreplace) %{_sysconfdir}/pam.d/su-l

View File

@ -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 Wed Sep 3 16:21:57 CEST 2014 - sbrabec@suse.cz

View File

@ -141,6 +141,7 @@ Source10: su.pamd
Source11: su.default Source11: su.default
Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign Source12: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.25/%{_name}-%{version}.tar.sign
Source13: %{_name}.keyring Source13: %{_name}.keyring
Source14: runuser.pamd
# TODO: split to separate package # TODO: split to separate package
Source40: klogconsole.tar.bz2 Source40: klogconsole.tar.bz2
# XXX: Run a program in a new session and with controlling tty # 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 %{SOURCE51} %{buildroot}%{_sysconfdir}/blkid.conf
install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/pam.d/login
install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/pam.d/remote 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} %if %{with enable_su}
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su
install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/pam.d/su-l
@ -885,6 +888,8 @@ fi
%config(noreplace) %{_sysconfdir}/blkid.conf %config(noreplace) %{_sysconfdir}/blkid.conf
%config(noreplace) %{_sysconfdir}/pam.d/login %config(noreplace) %{_sysconfdir}/pam.d/login
%config(noreplace) %{_sysconfdir}/pam.d/remote %config(noreplace) %{_sysconfdir}/pam.d/remote
%config(noreplace) %{_sysconfdir}/pam.d/runuser
%config(noreplace) %{_sysconfdir}/pam.d/runuser-l
%if %{with enable_su} %if %{with enable_su}
%config(noreplace) %{_sysconfdir}/pam.d/su %config(noreplace) %{_sysconfdir}/pam.d/su
%config(noreplace) %{_sysconfdir}/pam.d/su-l %config(noreplace) %{_sysconfdir}/pam.d/su-l