Displaying 5 results from an estimated 5 matches for "have_etc_default_login".
2001 Feb 26
0
Problems with OpenSSH 2.5.1p1 on Solaris 8
...round the problem by disabling
pam_open_session() call if ttyname == NULL, but I haven't investigated
the problem further.
2) OpenSSH does not read the default PATH from /etc/default/login. That's
really bad, so I implemented the feature. The patch is attached. The code
is guarded by HAVE_ETC_DEFAULT_LOGIN. I didn't make autoconf check,
because I don't know if it's appropriate, ie. if there is any other
system which has /etc/default/login, but with a different syntax.
I'm also assuming that <sys/mman.h> and mmap() will be available
if HAVE_ETC_DEFAULT_LOGIN is define...
2014 Aug 14
0
Problem with enabling /etc/default(s)/login on Cygwin
...This is very unreliable and
the result is puzzeling.
Shouldn't configure.ac be changed like this:
if --disable-etc-default-login is given
etc_default_login=no
else if --enable-etc-default-login is given
etc_default_login=yes
external_path_file=/etc/default/login
AC_DEFINE([HAVE_ETC_DEFAULT_LOGIN], [1], ...
else if cross_compiling
etc_default_login=no
else if AC_CHECK_FILE(["/etc/default/login"]
etc_default_login=yes
else
etc_default_login=no
???
Thanks,
Corinna
Index: session.c
===================================================================
RCS file: /c...
2003 Sep 16
2
openssh 3.7p1 bus error on sparcv9
openssh 3.7p1 sshd on Solaris 8 / sparcv9:
sshd runs fine, and starts to allow the login. However, when reading
from /etc/default/login, I get a bus error. I am able to get sshd to
work by commenting out these lines in session.c:
1015,1018c1015
< # ifdef HAVE_ETC_DEFAULT_LOGIN
< read_etc_default_login(&env, &envsize, pw->pw_uid);
< path = child_get_env(env, "PATH");
< # endif /* HAVE_ETC_DEFAULT_LOGIN */
Here is an truss of the failure:
1904: open("/etc/default/login", O_RDONLY) = 7
1904:...
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
...ault/login [no]],,
[
-AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ])
+AC_CHECK_FILE("/etc/default/login", [ external_path_file=/etc/default/login ],,)
if test "x$external_path_file" = "x/etc/default/login"; then
AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN)
fi
-])
+]
+)
+#fi
dnl BSD systems use /etc/login.conf so --with-default-path= has no effect
if test $ac_cv_func_login_getcapbool = "yes" -a \
diff -ruN openssh-3.9p1.orig/configure openssh-3.9p1/configure
--- openssh-3.9p1.orig/configure Wed Nov 24 11:21:15 2004
+++ openssh-3.9p1/co...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...TMPX */
#define DONT_TRY_OTHER_AF 1
#define IPV4_IN_IPV6 1
/* #undef BSD_AUTH */
/* #undef NO_X11_UNIX_SOCKETS */
/* #undef NO_IPPORT_RESERVED_CONCEPT */
/* #undef BROKEN_SAVED_UIDS */
#define GLOB_HAS_ALTDIRFUNC 1
/* #undef GLOB_HAS_GL_MATCHC */
/* #undef BROKEN_ONE_BYTE_DIRENT_D_NAME */
/* #undef HAVE_ETC_DEFAULT_LOGIN */
/* #undef HAVE_GETOPT_OPTRESET */
/* #undef MISSING_NFDBITS */
/* #undef MISSING_HOWMANY */
/* #undef MISSING_FD_MASK */
/* #undef SMARTCARD */
/* #undef USE_SECTOK */
/* #undef USE_OPENSC */
#define OPENSSL_PRNG_ONLY 1
/* #undef WITH_ABBREV_NO_TTY */
/* #undef SUPERUSER_PATH */
/* #undef PRIVSE...