search for: login_cap

Displaying 20 results from an estimated 37 matches for "login_cap".

2000 Feb 27
0
[PATCH] Fix login.conf, expiration, BSD compatibility in OpenSSH
...enSSH more FreeBSD 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...
2006 Mar 21
1
OpenSSH4.3p2 vs FreeBSD-6.0Rel
If this is a new problem, please contact me and I will get you further information. - Brian checking login_cap.h usability... no checking login_cap.h presence... yes configure: WARNING: login_cap.h: present but cannot be compiled configure: WARNING: login_cap.h: check for missing prerequisite headers? configure: WARNING: login_cap.h: see the Autoconf documentation configure: WARNING: login_cap.h: se...
2006 Feb 22
1
warning about net/if_tap.h & login_cap.h
...ap.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------- ## configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## configure: WARNING: ## ------------------------------------------- ## configure: WARNING: login_cap.h: present but cannot be compiled configure: WARNING: login_cap.h: check for missing prerequisite headers? configure: WARNING: login_cap.h: see the Autoconf documentation configure: WARNING: login_cap.h: section "Present But Cannot Be Compiled" configure: WARNING: login_cap.h: pro...
2006 May 03
1
BUG: opens all interfaces.
...compiler will take preceden ce configure: WARNING: ## ------------------------------------------- ## configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## configure: WARNING: ## ------------------------------------------- ## checking for net/if_tap.h... yes checking login_cap.h usability... no checking login_cap.h presence... yes configure: WARNING: login_cap.h: present but cannot be compiled configure: WARNING: login_cap.h: check for missing prerequisite headers? configure: WARNING: login_cap.h: see the Autoconf documentation configure: WARNING: login_cap.h: se...
2006 Mar 16
1
OpenSSH Configure Output
...future, the compiler will take precedence 48:configure: WARNING: ## ------------------------------------------- ## 49:configure: WARNING: ## Report this to openssh-unix-dev at mindrot.org ## 50:configure: WARNING: ## ------------------------------------------- ## 91:configure: WARNING: login_cap.h: present but cannot be compiled 92:configure: WARNING: login_cap.h: check for missing prerequisite headers? 93:configure: WARNING: login_cap.h: see the Autoconf documentation 94:configure: WARNING: login_cap.h: section "Present But Cannot Be Compiled" 95:configure: WARNING: logi...
2001 Feb 16
1
OpenSSH 2.3.0p1 port to BSDI BSD/OS
...the OpenSSH distribution in bsd-vis.c. After applying this patch, run "autoreconf". Index: auth1.c --- auth1.c 2001/02/13 07:43:16 1.1 +++ auth1.c 2001/02/13 22:00:06 @@ -28,6 +28,12 @@ #include "auth.h" #include "session.h" +#ifdef HAVE_BSD_AUTH_H +# include <login_cap.h> +# include <bsd_auth.h> +static char *bsduser=NULL; /* XXX -- ugly, but we need the original */ +#endif + /* import */ extern ServerOptions options; extern char *forced_command; @@ -258,7 +264,10 @@ NULL, password) == SIASUCCESS) { authenticated = 1; } -#else /* !USE_PA...
2003 Sep 23
1
3.7.1p1 appears to break pam session.
Hi, I am running FreeBSD 4.7 and openssh 3.7.1p1. I have enabled PAM usage and indeed, I can use PAM for authentication purposes. Since configure does login_cap.h, the preprocessor is side stepping do_pam_session() altogether in session.c:do_setusercontext(). Here is my patch for session.c. My understanding about portability issues is rather limited. I would very much appreciate if you guys could check this and verify that I am not introducing more p...
2006 Apr 23
0
Configuration Warnings OpenSSH 4.3p2
...for ia.h... no checking iaf.h usability... no checking iaf.h presence... no checking for iaf.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking login.h usability... no checking login.h presence... no checking for login.h... no checking login_cap.h usability... no checking login_cap.h presence... yes configure: WARNING: login_cap.h: present but cannot be compiled configure: WARNING: login_cap.h: check for missing prerequisite headers? configure: WARNING: login_cap.h: see the Autoconf documentation configure: WARNING: login_cap.h: se...
2000 Oct 07
0
OpenSSH changes for BSD/OS
...===== RCS file: /master/contrib/openssh/auth1.c,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 auth1.c *** auth1.c 2000/08/17 16:17:52 1.1.1.1 --- auth1.c 2000/10/06 20:45:57 *************** *** 23,28 **** --- 23,34 ---- # include <siad.h> #endif + #ifdef HAVE_BSD_AUTH + # include <login_cap.h> + # include <bsd_auth.h> + static char *bsduser=NULL; /* XXX -- ugly, but we need the original */ + #endif + /* import */ extern ServerOptions options; extern char *forced_command; *************** *** 315,321 **** NULL, password) == SIASUCCESS) { authenticated = 1;...
2006 Jun 29
1
SunOS 4.1.4 "configure: WARNING" for sys/audit.h and sys/dir.h
Openssh: openssh-SNAP-20060626 and openssh-4.3p2 System: SunOS 4.1.4 Compiler: gcc 2.8.1 CONFIGURE PROBLEM: The warnings included below occur because of missing include files for each compilation test. Specifically: sys/audit.h needs sys/types.h and sys/label.h sys/dir.h needs sys/types.h PARTIAL FIX: Most of the machinery for the sys/types.h dependency is already
2001 Mar 29
3
Patches for OpenSSH 2.5.2p2: evaluate /etc/default/login, makefiles manpages
...e the temporary environment. */ + { + u_int i; + for (i = 0; default_login_env[i]; i++) + xfree(default_login_env[i]); + } + xfree(default_login_env); +} + #if defined(HAVE_GETUSERATTR) /* * AIX-specific login initialisation @@ -1213,12 +1361,26 @@ # endif /* HAVE_CYGWIN */ #endif /* HAVE_LOGIN_CAP */ - snprintf(buf, sizeof buf, "%.200s/%.50s", - _PATH_MAILDIR, pw->pw_name); + /* + * Set environment variable MAIL. + * _PATH_MAILDIR may have a '/' appended (e.g. on Solaris) + * or have no '/' at the end. + */ + snprintf(buf, sizeof buf, "%.200s...
2001 Feb 12
5
SCO OS3 build broken (CVS 01/12/01)
It looks like something got broken in openbsd-compat/bsd-snprintf.c ... gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/includ e -I. -I.. -I../src/openbsd-compat -I../src/openbsd-compat/.. -DHAVE_CONFIG_H -c ../src/openbsd-compat/bsd-snprintf.c In file included from ../src/openbsd-compat/bsd-snprintf.c:72:
2003 Jun 22
2
Problem with Configure
..... no checking libgen.h usability... no checking libgen.h presence... no checking for libgen.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking login.h usability... no checking login.h presence... no checking for login.h... no checking login_cap.h usability... yes checking login_cap.h presence... yes checking for login_cap.h... yes checking maillock.h usability... no checking maillock.h presence... no checking for maillock.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netgro...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...no checking lastlog.h usability... no checking lastlog.h presence... no checking for lastlog.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking login.h usability... no checking login.h presence... no checking for login.h... no checking login_cap.h usability... no checking login_cap.h presence... no checking for login_cap.h... no checking maillock.h usability... no checking maillock.h presence... no checking for maillock.h... no checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking net/if.h usabil...
2012 Aug 29
0
Announce: OpenSSH 6.1 released
...e removed from the specification. bz#2023, * sshd(8): Handle long comments in config files better. bz#2025 * ssh(1): Delay setting tty_flag so RequestTTY options are correctly picked up. bz#1995 * sshd(8): Fix handling of /etc/nologin incorrectly being applied to root on platforms that use login_cap. Portable OpenSSH: * sshd(8): Allow sshd pre-auth sandboxing to fall-back to the rlimit sandbox from the Linux SECCOMP filter sandbox when the latter is not available in the kernel. * ssh(1): Fix NULL dereference when built with LDNS and using DNSSEC to retrieve a CNAME SSHFP record....
2012 Aug 29
0
Announce: OpenSSH 6.1 released
...e removed from the specification. bz#2023, * sshd(8): Handle long comments in config files better. bz#2025 * ssh(1): Delay setting tty_flag so RequestTTY options are correctly picked up. bz#1995 * sshd(8): Fix handling of /etc/nologin incorrectly being applied to root on platforms that use login_cap. Portable OpenSSH: * sshd(8): Allow sshd pre-auth sandboxing to fall-back to the rlimit sandbox from the Linux SECCOMP filter sandbox when the latter is not available in the kernel. * ssh(1): Fix NULL dereference when built with LDNS and using DNSSEC to retrieve a CNAME SSHFP record....
2001 Feb 13
1
configure.in reorder patch
...-los -lprot -lx -ltinfo -lm" + LIBS="$LIBS -los -lprot -lx -ltinfo -lm" no_dev_ptmx=1 RANLIB=true AC_DEFINE(BROKEN_SYS_TERMIO_H) @@ -295,93 +295,41 @@ ] ) +# Checks for header files. +AC_CHECK_HEADERS(bstring.h endian.h floatingpoint.h getopt.h lastlog.h limits.h login.h login_cap.h maillock.h netdb.h netgroup.h netinet/in_systm.h paths.h poll.h pty.h regex.h shadow.h security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/queue.h sys/select.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h sys/un.h stdarg.h stddef.h time.h ttyent.h users...
2001 Oct 22
2
configure changes
I finally got around to looking at a bunch of patchs to configure.in, some of them from back in March. One from Carson Gaspar <carson at taltos.org> looked promissing at first glance but after many hours I just couldn't get it to work. Due to much demand, I have added optional PATH to --with-pcre, --with-zlib, and --with-tcp-wrappers. I have done extensive testin on --with-zlib, and
2011 Nov 15
2
Possible pam_ssh bug?
...Got user: targetuser Nov 15 09:51:53 fbsd8-i386 sshd[52853]: in pam_sm_acct_mgmt(): Checking login.access for user targetuser from host 172.16.1.240 Nov 15 09:51:53 fbsd8-i386 sshd[52853]: in pam_sm_acct_mgmt(): Got user: targetuser Nov 15 09:51:53 fbsd8-i386 sshd[52853]: in pam_sm_acct_mgmt(): Got login_cap ------------- The view from the client machine during the login: ------------- client:/usr/src/lib/libpam/modules/pam_ssh (557) ssh targetuser@fbsd8-i386 SSH passphrase: Last login: Tue Nov 15 08:39:28 2011 from 172.16.2.218 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regen...
2001 May 02
1
OpenSSH 2.9
OpenSSH 2.9 has just been uploaded. It will be available from the mirrors listed at http://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0 implementation and includes sftp client and server support. This release contains many portability bug-fixes (listed in the ChangeLog) as well as several new features (listed below). We would like to thank the