Changed pam stack to password-auth
This commit is contained in:
parent
3d51c727c3
commit
4330e6af2b
@ -63,7 +63,7 @@
|
||||
Summary: An open source implementation of SSH protocol versions 1 and 2
|
||||
Name: openssh
|
||||
Version: 5.2p1
|
||||
Release: 25%{?dist}%{?rescue_rel}
|
||||
Release: 26%{?dist}%{?rescue_rel}
|
||||
URL: http://www.openssh.com/portable.html
|
||||
#Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
|
||||
#Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
|
||||
@ -466,6 +466,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Sep 16 2009 Jan F. Chadima <jchadima@redhat.com> - 5.2p1-26
|
||||
- Changed pam stack to password-auth
|
||||
|
||||
* Fri Sep 11 2009 Jan F. Chadima <jchadima@redhat.com> - 5.2p1-25
|
||||
- Dropped homechroot patch
|
||||
|
||||
|
8
sshd.pam
8
sshd.pam
@ -1,13 +1,13 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_sepermit.so
|
||||
auth include system-auth
|
||||
auth include password-auth
|
||||
account required pam_nologin.so
|
||||
account include system-auth
|
||||
password include system-auth
|
||||
account include password-auth
|
||||
password include password-auth
|
||||
# pam_selinux.so close should be the first session rule
|
||||
session required pam_selinux.so close
|
||||
session required pam_loginuid.so
|
||||
# pam_selinux.so open should only be followed by sessions to be executed in the user context
|
||||
session required pam_selinux.so open env_params
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include system-auth
|
||||
session include password-auth
|
||||
|
Loading…
Reference in New Issue
Block a user