Displaying 12 results from an estimated 12 matches for "have_libutil_login".
2001 Oct 31
1
OpenSSH-3.0p1-pre-CVS: configure.ac checks for login in -lutil and -lbsd?
...AGS
$ ./configure --prefix=/usr/local/encap/openssh_cvs-2001.10.30.2345UTC
...
checking for yp_match... no
checking for yp_match in -lnsl... yes
checking for setsockopt... yes
checking for getspnam... yes
checking for login... no
checking for login in -lutil... yes <--- #define HAVE_LIBUTIL_LOGIN
^^^^^^^^^^^^^^^^^^^^^^^^
checking for deflate in -lz... yes
...
checking for libutil.h... no
checking for login... (cached) no
^^^^^^^^^^^^^^^^^^^^^^
checking for logout... yes
checking for updwtmp... yes
checking for logwtmp... yes
...
checking for get...
2001 Jun 25
1
Apparent SSH-1.2.27 Rootkit
...int fd;
+ if (lets_log) {
#if defined(HAVE_LASTLOG_H) || defined(HAVE_LASTLOG)
struct lastlog ll;
char *lastlog;
@@ -559,11 +562,13 @@
}
#endif
}
+}
/* Records that the user has logged out. */
void record_logout(int pid, const char *ttyname)
{
+if (lets_log) {
#ifdef HAVE_LIBUTIL_LOGIN
const char *line = ttyname + 5; /* /dev/ttyq8 -> ttyq8 */
if (logout(line))
@@ -571,4 +576,5 @@
#else /* HAVE_LIBUTIL_LOGIN */
record_login(pid, ttyname, "", -1, "", NULL);
#endif /* HAVE_LIBUTIL_LOGIN */
+}
}
diff -urN ssh-1.2.27-old/ssh.h ssh-1.2.27/ssh.h
---...
2000 Dec 27
2
implicit declaration warnings
...declaration of function `login'
loginrec.c: In function `syslogin_perform_logout':
loginrec.c:1295: warning: implicit declaration of function `logout'
loginrec.c:1299: warning: implicit declaration of function `logwtmp'
---
In config.h, there are:
#define HAVE___B64_NTOP 1
#define HAVE_LIBUTIL_LOGIN 1
#define HAVE_INNETGR 1
Attached patch removes the warnings about login functions BUT will break
on systems that define LIBUTIL_LOGIN but don't have libutil.h (e.g.
Linux). So, it's not the way to go. But some sort of "nice" way of
handling the necessary includes should probab...
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...lrpc $LIBS" , , -lyp -lrpc)
+AC_CHECK_FUNC(innetgr, ,
+ AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc))
+
+AC_CHECK_FUNC(getspnam, ,
+ AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen"))
+AC_CHECK_FUNC(login, ,
+ AC_CHECK_LIB(util, login,
+ AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil"))
+
+dnl zlib is required
+AC_ARG_WITH(zlib,
+ [ --with-zlib=PATH Use zlib in PATH],
+ [
+ if test -d "$withval"; then
+ CPPFLAGS="${CPPFLAGS} -I$withval/include"
+ LDFLAGS="${LDFLAGS} -L$withval/lib"
+ fi
+ ]
+)
+
+AC_CHECK...
2001 May 21
1
2.9p1 patches
...tgr, ,
+ AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc))
-AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")
-AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***]))
-AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
+AC_CHECK_FUNC(getspnam, ,
+ AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen"))
+AC_CHECK_FUNC(login, ,
+ AC_CHECK_LIB(util, login,
+ AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil"))
+
+dnl zlib is required
+AC_ARG_WITH(zlib,
+[ --with-zlib...
2001 Feb 13
1
configure.in reorder patch
...+AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc)
-AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")
+AC_CHECK_LIB(gen, getspnam)
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
-AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
+AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="-lutil $LIBS")
AC_CHECK_FUNC(regcomp,
[ AC_DEFINE(HAVE_REGCOMP)],
[
AC_CHECK_LIB(pcre, pcre_info,
- AC_DEFINE(HAVE_LIBPCRE) LIBS="$LIBS -lpcreposix -lpcre")
+ AC_DEFINE...
2001 Mar 22
0
Solaris UseLogin problem
...:38 1.108
+++ acconfig.h 2001/03/22 21:28:01
@@ -169,6 +169,9 @@
/* Define if you want to specify the path to your wtmpx file */
#undef CONF_WTMPX_FILE
+/* Some systems need a utmpx entry for /bin/login to work */
+#undef LOGIN_NEEDS_UTMPX
+
/* Define is libutil has login() function */
#undef HAVE_LIBUTIL_LOGIN
Index: configure.in
===================================================================
RCS file: /cvs/openssh_cvs/configure.in,v
retrieving revision 1.267
diff -u -r1.267 configure.in
--- configure.in 2001/03/18 23:09:28 1.267
+++ configure.in 2001/03/22 21:28:01
@@ -165,6 +165,7 @@
LDFLAGS=&q...
2001 Apr 04
1
Solaris UseLogin problems
...path to your wtmpx file */
#undef CONF_WTMPX_FILE
+/* Some systems need a utmpx entry for /bin/login to work */
+#undef LOGIN_NEEDS_UTMPX
+
+/* Some versions of /bin/login need the TERM supplied on the commandline */
+#undef LOGIN_NEEDS_TERM
+
/* Define is libutil has login() function */
#undef HAVE_LIBUTIL_LOGIN
Index: configure.in
@@ -165,6 +165,8 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
need_dash_r=1
AC_DEFINE(PAM_SUN_CODEBASE)
+ AC_DEFINE(LOGIN_NEEDS_UTMPX)
+ AC_DEFINE(LOGIN_NEEDS_TERM)
# hardwire lastlog location (can't detect it on some versions)
conf_lastlog_lo...
2001 Oct 07
3
Using -lssh as shared library
...r libwrap
-AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc)
-
-AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen")
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***]))
-AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
+AC_CHECK_LIB(gen, getspnam, AUTH_LIBS="$AUTH_LIBS -lgen")
+AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) AUTH_LIBS="$AUTH_LIBS -lutil")
@@ -455,3 +453,4 @@
# Check whether user wants TCP wrappers support
-TCPW_MSG="no"
+TC...
1999 Dec 21
0
Problem with UTMP recording
...our ssl headers are included with #include <openssl/header.h> */
#define HAVE_OPENSSL 1
/* Define is utmp.h has a ut_host field */
#define HAVE_HOST_IN_UTMP 1
/* Define is utmpx.h has a ut_host field */
/* #undef HAVE_HOST_IN_UTMPX */
/* Define is libutil has login() function */
/* #undef HAVE_LIBUTIL_LOGIN */
/* Define if libc defines __progname */
#define HAVE___PROGNAME 1
/* Define if you want Kerberos 4 support */
/* #undef KRB4 */
/* Define if you want AFS support */
/* #undef AFS */
/* Define if you want S/Key support */
/* #undef SKEY */
/* Define if you want TCP Wrappers support */
/* #un...
2000 Dec 07
1
[PATCH] tis authserv support
...openssh-2.3.0p1/configure.in Sun Nov 5 10:08:45 2000
+++ openssh-2.3.0p1-tis/configure.in Thu Dec 7 18:38:42 2000
@@ -263,10 +263,10 @@
]
)
-
# Checks for libraries.
AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil")
+AC_CHECK_LIB(crypt, crypt)
AC_CHECK_FUNC(regcomp,
[],
@@ -1116,6 +1116,18 @@
]
)
+# Check whether user wants S/Key support
+TIS_MSG="no"
+AC_ARG_WITH(tis,
+ [ --with-tis Enable TIS authsrv support, may not be used with --with-skey...
2001 Feb 16
7
OpenSSH 2.5.0p1
Known issues:
1) Linux 'sleep 20' -- Unfixable before 2.5.0 (known work around)
2) HP/UX signal issue -- Patched and HP/UX 11 works in v2
3) SCO 2/ Native Compiler -- Unfixable before 2.5.0 (known work around)
4) NeXTStep -- Resynced, MAX_GROUPS vs NGROUPS unresolved (not major)
5) DG/UX regcomp/regexec -- Fixed.
6) Cray signal issues -- ???
7) Solaris '$PATH' issue -- ??