Displaying 20 results from an estimated 159 matches for "loginrec".
2012 Aug 16
9
[Bug 2034] New: make fails
...g the stack with dependencies in proper order.
For e.g.:
Zlib 1.2.7 in place
OpenSSL 1.0.1c in place
Needed to compile OpenSSH-6.0p1 outside of FreeBSD ports since the
latest available port was 5.8p2
Downloaded the latest version afresh (opens-6.0p1.tar.gz)
./configure (no issues)
make breaks at loginrec.c compilation - displayed errors below:
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wno-pointer-sign -fno-strict-aliasing
-D_FORTIFY_SOURCE=2 -fno-builtin-memset -fstack-protector-all -I. -I.
-DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"...
2014 Feb 24
1
loginrec.c: bug in construct_utmpx() definition?
Hello,
I am trying to cross compile OpenSSH_5.8p2 on linux for a powerpc target with uClibc available. My problem is that I get a error when loginrec.c is compiled:
openssh/loginrec.c: In function 'construct_utmpx':
openssh/loginrec.c:790:10: error: 'ut' undeclared (first use in this function)
openssh/loginrec.c:790:10: note: each undeclared identifier is reported only once for each function it appears in
My uClibc config incl...
2019 Apr 02
2
Call for testing: OpenSSH 8.0 [AIX Fail]
On Mon, 1 Apr 2019 at 23:23, Kevin Brott <kevin.brott at gmail.com> wrote:
[...]
> port-aix.c:316:1: error: conflicting types for 'record_failed_login'
> record_failed_login(const char *user, const char *hostname, const char *ttyname)
I think I just fixed that by changing the function to match the new
prototype. Unfortunately I can't currently test it myself. Please
2003 Oct 21
2
HP-UX 10.20 assistance
To Whomever can assist,
I am looking for anyone who has gotten OpenSsh 3.7.1p2 to build under
HP-UX 10.20. I am working with the latest gcc (v. 3.3.1), gmake (v. 3.80),
and Openssl (0.9.7c) and I still can not get OpenSsh to build properly.
It errors out on the build process with a:
loginrec.c:1405: dereferencing pointer to incomplete type
cing pointer to incomplete type
loginrec.c:1514: dereferencing pointer to incomplete type
loginrec.c: In function `lastlog_get_entry':
loginrec.c:1520: storage size of `last' isn't known
loginrec.c:1520: warning: unused variable `last'...
2003 May 02
1
loginrec.c license
Hi.
I am trying to figure out, is loginrec.c (and loginrec.h) licensed under the
4-point BSD license or one without the advertising clause? I'm developing a
small ssh2 server (Dropbear), and curently everything is under MIT/X
license. I'd prefer not to have to add any advertising clauses, and
reinventing the wheel also seems kind of...
2003 Feb 11
0
[Bug 492] New: Spurious error message from loginrec when attempting to login in with the highest uid for the first time.
http://bugzilla.mindrot.org/show_bug.cgi?id=492
Summary: Spurious error message from loginrec when attempting to
login in with the highest uid for the first time.
Product: Portable OpenSSH
Version: 3.5p1
Platform: ix86
OS/Version: BSDI
Status: NEW
Severity: trivial
Priority: P2
Component: ss...
2000 Aug 09
3
Problems compiling openssh-2.1.1p2 on FreeBSD 4.0-RELEASE
...RELEASE on a P75,
and want to compile openssh-2.1.1p2, but the compile fails with:
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c: In function `construct_utmp':
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c: In function `syslogin_perform_login':
loginrec.c:1256:...
2005 Nov 21
1
[PATCH] 64 bit clean compilation patches
...g: long long int format, off_t arg (arg 4)
progressmeter.c:91: warning: long long int format, off_t arg (arg 5)
progressmeter.c: In function `format_size':
progressmeter.c:104: warning: long long int format, off_t arg (arg 4)
progressmeter.c:104: warning: long long int format, off_t arg (arg 4)
loginrec.c: In function `lastlog_get_entry':
loginrec.c:1592: warning: int format, different type arg (arg 4)
loginrec.c: In function `record_failed_login':
loginrec.c:1655: warning: passing arg 3 of `getpeername' from
incompatible pointer typescp.c:
loginrec.c:1656: warning: passing arg 2 of `...
2000 Aug 30
0
Solaris/IRIX audit support: login.c vs loginrec.c
> -----Original Message-----
> From: Rip Loomis [mailto:loomisg at cist.saic.com]
> Sent: Wednesday, August 30, 2000 11:52 AM
> To: openssh-unix-dev at mindrot.org
> Subject: Solaris/IRIX audit support: login.c vs loginrec.c
>
> Comments requested:
> I have internally-generated patches against
> commercial SSH 1.2.27 that add full support
> for generation of kernel-level audit data
> on Solaris 2.5.1+ and IRIX 6.2/6.5, and
> I'm finally getting around to porting them
> to OpenSSH.
>
&...
2014 May 22
0
[PATCH] openssh - loginrec.c - Non-atomic file operations.
...k function. Now is little more atomic when
file operations on lastlog file happens.
For more details why separate stat and open isn't so safe please take a
look at: http://www.akkadia.org/drepper/defprogramming.pdf
Have nice day
Robin Hack
-------------- next part --------------
diff --git a/loginrec.c b/loginrec.c
index 4219b9a..281d650 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -163,6 +163,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <dirent.h>
#include "xmalloc.h"
#include "key.h"
@@ -1476,41 +1477,65 @@ lastlog_...
2000 Dec 27
2
implicit declaration warnings
...warning: implicit declaration of function `__b64_ntop'
uuencode.c: In function `uudecode':
uuencode.c:54: warning: implicit declaration of function `__b64_pton'
auth-rhosts.c: In function `check_rhosts_file':
auth-rhosts.c:110: warning: implicit declaration of function `innetgr'
loginrec.c: In function `syslogin_perform_login':
loginrec.c:1282: warning: implicit 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 functi...
2001 Aug 21
0
Resend: loginrec.c patch
...the LOGIN_NEEDS_UTMPX
section if USE_UTMPX is defined. This prevents duplicate events in the
last log under Solaris.
Neither of these changes affect the non-LOGIN_NEEDS_UTMPX code.
..wayne..
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
Index: loginrec.c
--- loginrec.c 2001/08/06 23:29:17 1.34
+++ loginrec.c 2001/08/21 17:53:43
@@ -448,6 +448,8 @@
login_utmp_only(struct logininfo *li)
{
li->type = LTYPE_LOGIN;
+ /* set the timestamp */
+ login_set_current_time(li);
# ifdef USE_UTMP
utmp_write_entry(li);
# endif
@@ -456,9 +458,10 @@
#...
2014 Oct 18
2
[Bug 2296] New: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
https://bugzilla.mindrot.org/show_bug.cgi?id=2296
Bug ID: 2296
Summary: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP
is defined
Product: Portable OpenSSH
Version: 6.7p1
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5
Component: sshd
Assi...
2000 Jun 12
1
AIX and 2.1.1p1
The new login code works fine with AIX 4.3. Two nits, though. If
--disable-lastlog is defined, the code still tries to slog through wtmp
to determine the last login time. Is this a bug or a feature? If a
feature, change the DISABLE_LASTLOG test below to WITH_AIXAUTHENTICATE.
Also, a small typo in configure.in, plus an AIX tweak.
--- configure.in.orig Thu Jun 8 21:58:35 2000
+++ configure.in Mon
2000 Jul 03
0
FreeBSD 3.5-STABLE
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c: In function `construct_utmp':
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c: In function `syslogin_perform_login':
loginrec.c:...
2002 Apr 12
0
[Bug 214] New: IRIX utmp problem loginrec.c: line_abbrevname() goes wrong
http://bugzilla.mindrot.org/show_bug.cgi?id=214
Summary: IRIX utmp problem loginrec.c: line_abbrevname() goes
wrong
Product: Portable OpenSSH
Version: 3.1p1
Platform: MIPS
URL: http://groups.google.de/groups?hl=de&selm=3B979A7D.10809
06%40nowhere.org&rnum=4
OS/Version: IRIX...
2013 Jun 01
3
[Bug 2111] New: Android does not properly implement utmp or wtmp.
...Created attachment 2283
--> https://bugzilla.mindrot.org/attachment.cgi?id=2283&action=edit
Disables utmp and wtmp for the Android platform.
After applying the latest patches for Android support in OpenSSH that
are set for inclusion in 6.3p1, I received the following errors from
gcc:
loginrec.c: In function 'construct_utmp':
loginrec.c:665:17: error: 'DEAD_PROCESS' undeclared (first use in
this function)
loginrec.c:665:17: note: each undeclared identifier is reported only
once for each function it appears in
loginrec.c: At top level:
loginrec.c:727:45: warning: &...
2015 Jun 02
3
[Bug 2407] New: OpenSSH uses deprecated APIs on MacOS
https://bugzilla.mindrot.org/show_bug.cgi?id=2407
Bug ID: 2407
Summary: OpenSSH uses deprecated APIs on MacOS
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at
2001 Mar 22
0
Solaris UseLogin problem
...local/lib -R/usr/local/lib"
need_dash_r=1
AC_DEFINE(PAM_SUN_CODEBASE)
+ AC_DEFINE(LOGIN_NEEDS_UTMPX)
# hardwire lastlog location (can't detect it on some versions)
conf_lastlog_location="/var/adm/lastlog"
AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
Index: loginrec.c
===================================================================
RCS file: /cvs/openssh_cvs/loginrec.c,v
retrieving revision 1.32
diff -u -r1.32 loginrec.c
--- loginrec.c 2001/02/22 21:23:21 1.32
+++ loginrec.c 2001/03/22 21:28:02
@@ -162,6 +162,7 @@
#include "loginrec.h"
#include...
2000 Dec 01
3
two irix patches
...e?
It purposely strips the tty off of tty names (e.g., ttyq1 becomes q1)
before sticking them in wtmp. IRIX then has no idea what terminal people
are attached to, causing commands like wall to fail (as they try to open
/dev/q1). Maybe this should be version specific?
--- openssh-SNAP-20001129.orig/loginrec.c Thu Nov 9 22:28:31 2000
+++ openssh-SNAP-20001129/loginrec.c Thu Nov 30 13:52:24 2000
@@ -512,13 +512,8 @@
line_stripname(char *dst, const char *src, int dstsize)
{
memset(dst, '\0', dstsize);
-#ifdef sgi
- if (strncmp(src, "/dev/tty", 8) == 0)
-...