rpms/rsh/devel netkit-rsh-0.17-pam-rhost.patch, NONE, 1.1 rsh.spec, 1.22, 1.23

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Nov 28 14:33:04 UTC 2005


Author: kzak

Update of /cvs/dist/rpms/rsh/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv23722

Modified Files:
	rsh.spec 
Added Files:
	netkit-rsh-0.17-pam-rhost.patch 
Log Message:
fix PAM usage in rexecd

netkit-rsh-0.17-pam-rhost.patch:
 rexecd.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

--- NEW FILE netkit-rsh-0.17-pam-rhost.patch ---
--- netkit-rsh-0.17/rexecd/rexecd.c.pam-rhost	2005-11-28 15:24:14.000000000 +0100
+++ netkit-rsh-0.17/rexecd/rexecd.c	2005-11-28 15:27:08.000000000 +0100
@@ -312,7 +312,9 @@
        PAM_password = pass;
        pam_error = pam_start("rexec", PAM_username, &PAM_conversation,&pamh);
        PAM_BAIL;
-       (void) pam_set_item (pamh, PAM_TTY, "rexec");   /* we don't have a tty yet! */
+       pam_set_item (pamh, PAM_RUSER, user);
+       pam_set_item (pamh, PAM_RHOST, remote);	       
+       pam_set_item (pamh, PAM_TTY, "rexec");   /* we don't have a tty yet! */
        pam_error = pam_authenticate(pamh, 0);
        PAM_BAIL;
        pam_error = pam_acct_mgmt(pamh, 0);


Index: rsh.spec
===================================================================
RCS file: /cvs/dist/rpms/rsh/devel/rsh.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- rsh.spec	24 Nov 2005 09:52:34 -0000	1.22
+++ rsh.spec	28 Nov 2005 14:33:01 -0000	1.23
@@ -1,7 +1,7 @@
 Summary: Clients for remote access commands (rsh, rlogin, rcp).
 Name: rsh
 Version: 0.17
-Release: 32
+Release: 33
 License: BSD
 Group: Applications/Internet
 
@@ -45,6 +45,7 @@
 Patch25: netkit-rsh-0.17-checkdir.patch
 Patch26: netkit-rsh-0.17-pam-conv.patch
 Patch27: netkit-rsh-0.17-rcp-largefile.patch
+Patch28: netkit-rsh-0.17-pam-rhost.patch
 
 %description
 The rsh package contains a set of programs which allow users to run
@@ -104,6 +105,7 @@
 %patch25 -p1 -b .checkdir
 %patch26 -p1 -b .pam-conv
 %patch27 -p1 -b .largefile
+%patch28 -p1 -b .pam-rhost
 
 
 # No, I don't know what this is doing in the tarball.
@@ -173,6 +175,9 @@
 %{_mandir}/man8/*.8*
 
 %changelog
+* Mon Nov 28 2005 Karel Zak <kzak at redhat.com> 0.17-33
+- fix #174146 - pam_access.so does not work with rexecd
+
 * Thu Nov 24 2005 Karel Zak <kzak at redhat.com> 0.17-32
 - fix #174045 - rcp outputs negative file size when over 2GB
 




More information about the fedora-cvs-commits mailing list