From 6b7ea58f15a89a2cb1b6d5e55fb3b8345e0435a9 Mon Sep 17 00:00:00 2001 From: Jacques Vidrine Date: Mon, 6 Jul 1998 18:59:06 +0000 Subject: Additional patches (already committed to krb5-current): * Paths corrected in applications * ftpd now logs to facility LOG_FTP * use openpty to obtain pseudo-terminal * corrected detection of TCL libraries * fix a forwarding bug * add -m flag to ksu (preserve USER, HOME, SHELL) * cosmetic bug fix to telnet.c Submitted by: Dima Ruban --- security/krb5-appl/files/patch-aj | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 security/krb5-appl/files/patch-aj (limited to 'security/krb5-appl/files/patch-aj') diff --git a/security/krb5-appl/files/patch-aj b/security/krb5-appl/files/patch-aj new file mode 100644 index 000000000000..29e845803294 --- /dev/null +++ b/security/krb5-appl/files/patch-aj @@ -0,0 +1,46 @@ +*** appl/gssftp/ftpd/logwtmp.c.ORIG Fri Feb 6 19:41:25 1998 +--- appl/gssftp/ftpd/logwtmp.c Tue Jun 30 19:46:01 1998 +*************** +*** 44,55 **** + #include + #include + +! #ifdef WTMP_FILE +! #define WTMPFILE WTMP_FILE + #endif + +! #ifndef WTMPFILE +! #define WTMPFILE "/usr/adm/wtmp" + #endif + + static int fd = -1; +--- 44,55 ---- + #include + #include + +! #if !defined(WTMP_FILE) && defined(_PATH_WTMP) +! #define WTMP_FILE _PATH_WTMP + #endif + +! #ifndef WTMP_FILE +! #define WTMP_FILE "/usr/adm/wtmp" + #endif + + static int fd = -1; +*************** +*** 66,72 **** + struct stat buf; + time_t time(); + +! if (fd < 0 && (fd = open(WTMPFILE, O_WRONLY|O_APPEND, 0)) < 0) + return; + if (fstat(fd, &buf) == 0) { + (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); +--- 66,72 ---- + struct stat buf; + time_t time(); + +! if (fd < 0 && (fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0) + return; + if (fstat(fd, &buf) == 0) { + (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); -- cgit v1.2.3