Accepting request 53420 from Base:System

Accepted submit request 53420 from user coolo

OBS-URL: https://build.opensuse.org/request/show/53420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=58
This commit is contained in:
Ruediger Oertel 2010-11-20 10:18:22 +00:00 committed by Git OBS Bridge
parent 1a78120503
commit 6c0991dbec
3 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 18 12:20:59 UTC 2010 - lnussel@suse.de
- add pam_lastlog to show failed login attempts
- remove permissions handling, no special handling needed
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 16 14:45:14 UTC 2010 - cristian.rodriguez@opensuse.org Tue Nov 16 14:45:14 UTC 2010 - cristian.rodriguez@opensuse.org

View File

@ -26,7 +26,7 @@ BuildRequires: libselinux-devel
License: BSD3c(or similar) ; MIT License (or similar) License: BSD3c(or similar) ; MIT License (or similar)
Group: Productivity/Networking/SSH Group: Productivity/Networking/SSH
Requires: /bin/netstat Requires: /bin/netstat
PreReq: pwdutils %insserv_prereq %fillup_prereq coreutils permissions PreReq: pwdutils %insserv_prereq %fillup_prereq coreutils
Conflicts: nonfreessh Conflicts: nonfreessh
AutoReqProv: on AutoReqProv: on
Version: 5.6p1 Version: 5.6p1
@ -192,9 +192,6 @@ getent passwd sshd >/dev/null || /usr/sbin/useradd -r -g sshd -d /var/lib/sshd -
%post %post
%{fillup_and_insserv -n ssh sshd} %{fillup_and_insserv -n ssh sshd}
%run_permissions
%verifyscript
%verify_permissions -e /etc/ssh/sshd_config -e /etc/ssh/ssh_config -e /usr/bin/ssh
%preun %preun
%stop_on_removal sshd %stop_on_removal sshd
@ -212,8 +209,8 @@ rm -rf $RPM_BUILD_ROOT
%doc README.SuSE README.kerberos ChangeLog OVERVIEW README TODO LICENCE CREDITS %doc README.SuSE README.kerberos ChangeLog OVERVIEW README TODO LICENCE CREDITS
%attr(0755,root,root) %dir /etc/ssh %attr(0755,root,root) %dir /etc/ssh
%attr(0600,root,root) %config(noreplace) /etc/ssh/moduli %attr(0600,root,root) %config(noreplace) /etc/ssh/moduli
%verify(not mode) %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config
%verify(not mode) %attr(0640,root,root) %config(noreplace) /etc/ssh/sshd_config %attr(0640,root,root) %config(noreplace) /etc/ssh/sshd_config
%attr(0644,root,root) %config /etc/pam.d/sshd %attr(0644,root,root) %config /etc/pam.d/sshd
%attr(0755,root,root) %config /etc/init.d/sshd %attr(0755,root,root) %config /etc/init.d/sshd
%attr(0755,root,root) /usr/bin/ssh %attr(0755,root,root) /usr/bin/ssh

View File

@ -6,3 +6,4 @@ account include common-account
password include common-password password include common-password
session required pam_loginuid.so session required pam_loginuid.so
session include common-session session include common-session
session optional pam_lastlog.so silent noupdate showfailed