Displaying 2 results from an estimated 2 matches for "_path_chpass".
2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
...login compatible and fix non-critical
memory leak.
Please review and commit.
--- sshd.c.old	Fri Feb 25 08:23:45 2000
+++ sshd.c	Sun Feb 27 02:53:33 2000
@@ -37,9 +37,8 @@
 #endif /* LIBWRAP */
 
 #ifdef __FreeBSD__
-#include <libutil.h>
-#include <syslog.h>
 #define	LOGIN_CAP
+#define _PATH_CHPASS "/usr/bin/passwd"
 #endif /* __FreeBSD__ */
 
 #ifdef LOGIN_CAP
@@ -1246,6 +1245,7 @@
 				return 0;
 		}
 	}
+#ifndef __FreeBSD__     /* FreeBSD handle it later */
 	/* Fail if the account's expiration time has passed. */
 	if (pw->pw_expire != 0) {
 		struct timeval tv;
@@ -1254,...
2002 Jun 28
1
[Bug 315] New: add miissing includes and defines for FREEBSD
...dinoex.sub.org
--- session.c.orig      Wed Jun 26 15:51:06 2002
+++ session.c   Wed Jun 26 18:20:35 2002
@@ -64,6 +64,13 @@
 #define is_winnt       (GetVersion() < 0x80000000)
 #endif
+#ifdef __FreeBSD__
+#include <libutil.h>
+#include <syslog.h>
+#include <time.h>
+#define _PATH_CHPASS "/usr/bin/passwd"
+#endif /* __FreeBSD__ */ 
+
 /* func */
 Session *session_new(void);
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.