Displaying 4 results from an estimated 4 matches for "wtmp_get_entry".
2001 Sep 25
1
Today's CVS trouble (HP-UX 10.20)
Hi!
I have just updated some hosts to todays CVS version of OpenSSH portable,
now flagged as 2.9.9p1.
I now find the following error messages in my logfiles:
Sep 25 12:16:38 ws01 sshd[17610]: wtmp_get_entry: read of /var/adm/wtmp failed:
Bad file number
Sep 25 12:17:11 ws01 sshd[17659]: wtmp_get_entry: read of /var/adm/wtmp failed:
No such device or address
These do not occur with 2.9p2. On the host in question I have been running
last weeks (Thursday?) CVS without trouble. After distributing the lat...
2007 Jan 17
0
login_get_lastlog - nss enviornment - works in shell env, doesn't work when sshd calls it.
...BLE_LASTLOG)
/* On some systems we shouldn't even try to obtain last login
* time, e.g. AIX */
return (0);
# elif defined(USE_WTMP) && \
(defined(HAVE_TIME_IN_UTMP) || defined(HAVE_TV_IN_UTMP))
/* retrieve last login time from utmp */
return (wtmp_get_entry(li));
# elif defined(USE_WTMPX) && \
(defined(HAVE_TIME_IN_UTMPX) || defined(HAVE_TV_IN_UTMPX))
/* If wtmp isn't available, try wtmpx */
return (wtmpx_get_entry(li));
# else
/* Give up: No means of retrieving last login time */
return (0);
# endif /*...
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
2012 Aug 16
9
[Bug 2034] New: make fails
...lared inside parameter list
loginrec.c: In function 'wtmp_islogin':
loginrec.c:1167: error: dereferencing pointer to incomplete type
loginrec.c:1168: error: dereferencing pointer to incomplete type
loginrec.c:1168: error: dereferencing pointer to incomplete type
loginrec.c: In function 'wtmp_get_entry':
loginrec.c:1183: error: storage size of 'ut' isn't known
loginrec.c:1202: error: invalid application of 'sizeof' to incomplete
type 'struct utmp'
loginrec.c:1237: error: invalid application of 'sizeof' to incomplete
type 'struct utmp'
loginrec.c:1...