rpms/rsh/devel netkit-rsh-0.17-arg_max.patch, 1.1, 1.2 netkit-rsh-0.17-audit.patch, 1.2, 1.3 rlogin.pam, 1.6, 1.7 rsh.pam, 1.6, 1.7 rsh.spec, 1.45, 1.46
Adam Tkac (atkac)
fedora-extras-commits at redhat.com
Fri May 9 10:59:58 UTC 2008
Author: atkac
Update of /cvs/pkgs/rpms/rsh/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11779
Modified Files:
netkit-rsh-0.17-arg_max.patch netkit-rsh-0.17-audit.patch
rlogin.pam rsh.pam rsh.spec
Log Message:
- fixed typos in arg_max and audit patches (#445606)
- use pam_rhosts, not pam_rhosts_auth (#445606)
netkit-rsh-0.17-arg_max.patch:
Index: netkit-rsh-0.17-arg_max.patch
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/netkit-rsh-0.17-arg_max.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- netkit-rsh-0.17-arg_max.patch 14 Apr 2008 11:48:26 -0000 1.1
+++ netkit-rsh-0.17-arg_max.patch 9 May 2008 10:59:21 -0000 1.2
@@ -1,6 +1,6 @@
diff -up netkit-rsh-0.17/rexecd/rexecd.c.arg_max netkit-rsh-0.17/rexecd/rexecd.c
---- netkit-rsh-0.17/rexecd/rexecd.c.arg_max 2008-04-14 13:19:29.000000000 +0200
-+++ netkit-rsh-0.17/rexecd/rexecd.c 2008-04-14 13:33:35.000000000 +0200
+--- netkit-rsh-0.17/rexecd/rexecd.c.arg_max 2008-05-09 10:36:44.000000000 +0200
++++ netkit-rsh-0.17/rexecd/rexecd.c 2008-05-09 10:36:44.000000000 +0200
@@ -235,7 +235,8 @@ static struct pam_conv PAM_conversation
static void
doit(struct sockaddr_in *fromp)
@@ -40,8 +40,8 @@
#define PAM_BAIL if (pam_error != PAM_SUCCESS) { \
pam_end(pamh, pam_error); exit(1); \
diff -up netkit-rsh-0.17/rshd/rshd.c.arg_max netkit-rsh-0.17/rshd/rshd.c
---- netkit-rsh-0.17/rshd/rshd.c.arg_max 2008-04-14 13:33:58.000000000 +0200
-+++ netkit-rsh-0.17/rshd/rshd.c 2008-04-14 13:35:17.000000000 +0200
+--- netkit-rsh-0.17/rshd/rshd.c.arg_max 2008-05-09 10:36:44.000000000 +0200
++++ netkit-rsh-0.17/rshd/rshd.c 2008-05-09 10:38:51.000000000 +0200
@@ -402,7 +402,8 @@ static int log_audit(const char *usernam
static void
doit(struct sockaddr_storage *fromp, socklen_t fromlen)
@@ -71,3 +71,12 @@
signal(SIGINT, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
signal(SIGTERM, SIG_DFL);
+@@ -460,7 +473,7 @@ doit(struct sockaddr_storage *fromp, soc
+
+ getstr(remuser, sizeof(remuser), "remuser");
+ getstr(locuser, sizeof(locuser), "locuser");
+- getstr(cmdbuf, sizeof(cmdbuf), "command");
++ getstr(cmdbuf, cmdbuflen, "command");
+ if (!strcmp(locuser, "root")) paranoid = 1;
+
+ hostname = findhostname((struct sockaddr *)fromp, fromlen,
netkit-rsh-0.17-audit.patch:
Index: netkit-rsh-0.17-audit.patch
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/netkit-rsh-0.17-audit.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- netkit-rsh-0.17-audit.patch 25 Mar 2008 14:15:44 -0000 1.2
+++ netkit-rsh-0.17-audit.patch 9 May 2008 10:59:21 -0000 1.3
@@ -87,7 +87,7 @@
setpwent();
pwd = doauth(remuser, hostname, locuser);
if (pwd == NULL) {
-+ if (log_audit(remuser, -1, hostname, 0) <= 0) {
++ if (log_audit(remuser, -1, hostname, 0) > 0) {
+ fail("Error sending audit event.\n",
+ remuser, hostname, locuser, cmdbuf);
+ }
@@ -99,7 +99,7 @@
error("Logins currently disabled.\n");
exit(1);
}
-+ if (log_audit(NULL, pwd->pw_uid, hostname, 1) <= 0) {
++ if (log_audit(NULL, pwd->pw_uid, hostname, 1) > 0) {
+ fail("Error sending audit event.\n",
+ remuser, hostname, locuser, cmdbuf);
+ }
Index: rlogin.pam
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/rlogin.pam,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rlogin.pam 26 Oct 2007 07:13:24 -0000 1.6
+++ rlogin.pam 9 May 2008 10:59:21 -0000 1.7
@@ -4,7 +4,7 @@
auth required pam_nologin.so
auth required pam_securetty.so
auth required pam_env.so
-auth sufficient pam_rhosts_auth.so
+auth sufficient pam_rhosts.so
auth include system-auth
account include system-auth
password include system-auth
Index: rsh.pam
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/rsh.pam,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rsh.pam 26 Oct 2007 07:13:24 -0000 1.6
+++ rsh.pam 9 May 2008 10:59:21 -0000 1.7
@@ -4,7 +4,7 @@
auth required pam_nologin.so
auth required pam_securetty.so
auth required pam_env.so
-auth required pam_rhosts_auth.so
+auth required pam_rhosts.so
account include system-auth
session optional pam_keyinit.so force revoke
session include system-auth
Index: rsh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rsh/devel/rsh.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- rsh.spec 14 Apr 2008 11:48:26 -0000 1.45
+++ rsh.spec 9 May 2008 10:59:21 -0000 1.46
@@ -1,7 +1,7 @@
Summary: Clients for remote access commands (rsh, rlogin, rcp).
Name: rsh
Version: 0.17
-Release: 49%{?dist}
+Release: 50%{?dist}
License: BSD
Group: Applications/Internet
@@ -190,6 +190,10 @@
%{_mandir}/man8/*.8*
%changelog
+* Fri May 09 2008 Adam Tkac <atkac redhat com> 0.17-50
+- fixed typos in arg_max and audit patches (#445606)
+- use pam_rhosts, not pam_rhosts_auth (#445606)
+
* Mon Apr 14 2008 Adam Tkac <atkac redhat com> 0.17-49
- use sysconf for ARG_MAX value (#440867)
More information about the fedora-extras-commits
mailing list