[packages/openssh] - remove passwd.conf manipulation from post, passwd does not have support for changing pam service

baggins baggins at pld-linux.org
Mon Oct 22 00:15:56 CEST 2012


commit 7ca3058f307c0553dd738b005f9c62d2ba77eebb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 22 00:14:54 2012 +0200

    - remove passwd.conf manipulation from post, passwd does not have
      support for changing pam service suffix for a long time now
    - rel 2

 openssh.spec | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/openssh.spec b/openssh.spec
index df167d6..1d0449a 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -35,7 +35,7 @@ Summary(ru.UTF-8):	OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):	OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:		openssh
 Version:	6.1p1
-Release:	1
+Release:	2
 Epoch:		2
 License:	BSD
 Group:		Applications/Networking
@@ -686,10 +686,6 @@ rm -rf $RPM_BUILD_ROOT
 %post server
 /sbin/chkconfig --add sshd
 %service sshd reload "OpenSSH Daemon"
-if ! grep -qs ssh /etc/security/passwd.conf ; then
-	umask 022
-	echo "ssh" >> /etc/security/passwd.conf
-fi
 NORESTART=1
 %systemd_post sshd.service
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/7ca3058f307c0553dd738b005f9c62d2ba77eebb



More information about the pld-cvs-commit mailing list