Displaying 4 results from an estimated 4 matches for "ll_file".
2000 Aug 03
1
lastlog_get_entry error on IRIX
Precedence: bulk
Hi,
I'm getting the error:
sshd[71835]: lastlog_get_entry: Error reading from /var/adm/lastlog: Error 0
from openssh 2.1.1p4 on IRIX (6.5.8m). Looks like there's some confusion
about /var/adm/lastlog being a directory and not a file on IRIX.
./configure says:
checking for lastlog... no
checking if your system defines LASTLOG_FILE... no
but I still gets the error
2001 Sep 26
2
openssh-2.9.9p2 session.c fails on Solaris 7,8 w/ SunPro C
FYI--
session.c fails from openSSH 2.9.9p2 with SunPro C compiler on Solaris 7,
8. The function do_pre_login had to be moved to before its use in
do_exec_pty (a predeclaration would work).
It does appear to work correctly, given the above fix. Still having the
largefile problem (argh), so if anyone can help with /that/ ...
--
Austin David -- Sr. Systems Architect
Wink Communications
2010 Sep 13
5
[Bug 1817] New: lastlog is not recorded with the big uid
...escription of problem:
lastlog is not recorded with the big uid (>2147483647).
1569 /* open the file (using filemode) and seek to the login entry
*/
1570 static int
1571 lastlog_openseek(struct logininfo *li, int *fd, int filemode)
1572 {
...
1600 if (type == LL_FILE) {
1601 /* find this uid's offset in the lastlog file
*/
1602 offset = (off_t) ((long)li->uid * sizeof(struct
lastlog));
1603
1604 if (lseek(*fd, offset, SEEK_SET) != offset) {
1605 logit("%s: %s->...
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
...mcpy(ut->ut_host, old_ut.ut_host, sizeof(ut->ut_host));
}
+ #endif /* HAVE_HOST_IN_UTMP */
(void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
if (atomicio(write, fd, ut, sizeof(*ut)) != sizeof(*ut))
***************
*** 1319,1324 ****
--- 1325,1349 ----
#define LL_FILE 1
#define LL_DIR 2
#define LL_OTHER 3
+
+ /* struct lastlog is not defined under QNX: define it */
+ #if defined(__QNX__) && !defined(__QNXNTO__)
+ #define __time_t time_t
+
+ /* from Linux's <bits/utmp.h> */
+ #define UT_LINESIZE 32
+ #define UT_NAMESIZE 32
+ #defin...