Displaying 8 results from an estimated 8 matches for "login_needs_term".
2002 Dec 27
0
LOGIN_NEEDS_TERM
this became "broken" due to privsep several months ago. is it still
needed for some solaris login programs?
http://www.eviladmin.org/cgi-bin/cvsweb.cgi/session.c?rev=1.191&content-type=text/x-cvsweb-markup
http://www.eviladmin.org/cgi-bin/cvsweb.cgi/session.c.diff?r1=1.190&r2=1.191
2001 Apr 04
1
Solaris UseLogin problems
...al type failed to be passed through to "login"
unless I added an extra commandline parameter. The solaris version of
login has an optional "terminal" arg after the "-h hostname" arg, and
without this being supplied, the value of TERM gets lost. I have
added a define, LOGIN_NEEDS_TERM, and made configure set it if we're
running Solaris.
What I did not notice was any problems with duplicated wtmpx entries
like Matt did.
Matt: What was the symptom you noticed that made you add the code to
loginrec.c? Duplicated entries when running "w"? Or something else?
..way...
2001 Apr 29
2
PATCH: UseLogin fix for 2.9p1 (w/improved last-login time)
...acconfig.h 2001/04/29 18:12:31
@@ -154,6 +154,12 @@
/* Define if you don't want to use wtmpx */
#undef DISABLE_WTMPX
+/* 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 if you want to specify the path to your lastlog file */
#undef CONF_LASTLOG_FILE
Index: configure.in
--- configure.in 2001/04/26 04:40:28 1.282
+++ configure.in 2001/04/29 18:12:36
@@ -153,6 +153,8 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
need_dash_r=1...
2002 Mar 25
0
[Bug 184] New: 3.1p1 openssh fails to build a working sshd on Trusted HP-UX 10.26
...ubdirectories: openssh-3.1p1.orig/scard and openssh-3.1p1/scard
diff -cr openssh-3.1p1.orig/session.c openssh-3.1p1/session.c
*** openssh-3.1p1.orig/session.c Mon Feb 25 15:48:03 2002
--- openssh-3.1p1/session.c Fri Mar 22 22:56:30 2002
***************
*** 1285,1291 ****
--- 1285,1297 ----
#ifdef LOGIN_NEEDS_TERM
(s->term ? s->term : "unknown"),
#endif /* LOGIN_NEEDS_TERM */
+ #ifdef TRUSTED_HPUX
+ // the "--" makes login hang on Trusted HP-UX
+ // 10.26
+ "-p", "-f", pw->pw_name, (char *)NULL);
+ #else
"-p", "-f&q...
2004 Feb 27
3
Change request For OpenSSH 3.8p1
...r platforms that I
don't have access to (although that would only matter if the flag was set).
diff -r -c old/configure.ac new/configure.ac
*** old/configure.ac Mon Feb 23 22:47:04 2004
--- new/configure.ac Thu Feb 26 17:23:55 2004
***************
*** 273,278 ****
--- 273,285 ----
AC_DEFINE(LOGIN_NEEDS_TERM)
AC_DEFINE(PAM_TTY_KLUDGE)
AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
+ # Check for existence of POSIX threads.
+ AC_CHECK_HEADER(pthread.h, [
+ AC_CHECK_LIB(pthread, pthread_create, [
+ CPPFLAGS="$CPPFLAGS -DUSE_POSIX_THREADS"
+ LIBS="-lpthread $LIBS"
+...
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...quot;"
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define WORDS_BIGENDIAN 1
#define _FILE_OFFSET_BITS 64
#define LOGIN_PROGRAM_FALLBACK "/usr/bin/login"
#define PAM_SUN_CODEBASE 1
#define LOGIN_NEEDS_UTMPX 1
#define LOGIN_NEEDS_TERM 1
#define PAM_TTY_KLUDGE 1
#define DISABLE_UTMP 1
#define DISABLE_WTMP 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_UNISTD_H 1
#de...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...IN_UTMPX */
/* #undef DISABLE_LOGIN */
/* #undef DISABLE_PUTUTLINE */
/* #undef DISABLE_PUTUTXLINE */
/* #undef DISABLE_LASTLOG */
/* #undef NO_SSH_LASTLOG */
/* #undef DISABLE_UTMP */
#define DISABLE_UTMPX 1
/* #undef DISABLE_WTMP */
#define DISABLE_WTMPX 1
/* #undef LOGIN_NEEDS_UTMPX */
/* #undef LOGIN_NEEDS_TERM */
/* #undef LOGIN_NO_ENDOPT */
/* #undef CONF_LASTLOG_FILE */
/* #undef CONF_UTMP_FILE */
/* #undef CONF_WTMP_FILE */
/* #undef CONF_UTMPX_FILE */
/* #undef CONF_WTMPX_FILE */
/* #undef USE_EXTERNAL_ASKPASS */
#define HAVE___PROGNAME 1
#define HAVE___FUNCTION__ 1
#define HAVE___func__ 1
/* #undef...
2002 Jul 23
2
Irix UseLogin wtmp/utmp bug
...fprintf(stderr, "X11 forwarding not supported with IRIX
login.\n");
fprintf(stderr, "Must enter password again to get AFS
token,\n");
/* execl(LOGIN_PROGRAM, "login", "-h", hostname, */
execl(LOGIN_PROGRAM, "login",
#ifdef xxxLOGIN_NEEDS_TERM
(s->term ? s->term : "unknown"),
#endif /* LOGIN_NEEDS_TERM */
#ifdef LOGIN_NO_ENDOPT
/* "-p", "-f", pw->pw_name, (char *)NULL); */
pw->pw_name, (char *)NULL);
#else
/* "-p", "-f",...