search for: ll_host

Displaying 9 results from an estimated 9 matches for "ll_host".

2001 Sep 06
1
lastlog on Solaris with PAM (patch included)
...for the change in do_exec_no_pty): It's possible for pam_setcred to print messages that should be considered part of the session, and that would need to be done after the stdio and pty plumbing. Finally, I'm not too thrilled about the use of strlcpy to get the hostname out of lastlog. The ll_host field of lastlog is a fixed-width field and is not null-terminated. Since strlcpy copies n-1 bytes and then sets byte n-1 to 0, it would be more appropriate to use: strlcpy(li->hostname, last->ll_host, MIN_SIZEOF(li->hostname, last->ll_host + 1)); Think about what happens if sizeo...
2000 Jun 13
2
Openssh-2.1.1p1 and solaris 7/8
Hello, I just installed the above openssh onto a Sun Solaris 7 and Solaris 8 system. No problem with that. However, I now seem to get some rubbish processed when I login with slogin. An example: Last login: Tue Jun 13 12:31:27 2000 from jhorne.csd.plymo:tJ` ^[[?1;2c Telnet logs in okay, but just shows 'Last login...jhorne.csd.plymo'. This seems to get passed to the shell, which it of
2000 Jun 13
2
2.2.1p1 / AIX 4.2.1.0.06 login nits
Hi. New (2.1.1p1) login code is nicer on AIX (4.2.1.0.06). Thanks. A couple of issues, though, which I haven't really dug into yet. I'm wondering if anyone else has seen them? If not, I'll investigate & report. 1. If I set "UseLogin" to "yes", everything seems fine except that the authentication agent forwarding doesn't work. The "SSH"
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have just uploaded 1.2.1pre22 to: http://violet.ibs.com.au/openssh/files/ This release consists of portability fixes and cleanups. It also resolves two issues which may have caused security problems - If you OS header files did not define PATH_STDPATH, then an unsafe path was used by default (it contained an implicit '.'). Thanks
1999 Dec 28
1
ANNOUNCE: openssh-1.2.1pre22
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have just uploaded 1.2.1pre22 to: http://violet.ibs.com.au/openssh/files/ This release consists of portability fixes and cleanups. It also resolves two issues which may have caused security problems - If you OS header files did not define PATH_STDPATH, then an unsafe path was used by default (it contained an implicit '.'). Thanks
2000 Sep 12
0
OpenSSH 2.2.0p1 port to QNX 4
...inux's <bits/utmp.h> */ + #define UT_LINESIZE 32 + #define UT_NAMESIZE 32 + #define UT_HOSTSIZE 256 + + /* The structure describing an entry in the database of + previous logins. */ + struct lastlog + { + __time_t ll_time; + char ll_line[UT_LINESIZE]; + char ll_host[UT_HOSTSIZE]; + }; + #endif /* __QNX__ && !__QNXNTO__ */ static void lastlog_construct(struct logininfo *li, struct lastlog *last) diff -cr openssh-2.2.0p1.orig/scp.c openssh-2.2.0p1.qnx/scp.c *** openssh-2.2.0p1.orig/scp.c Wed Aug 30 01:11:30 2000 --- openssh-2.2.0p1.qnx/scp.c Tue...
2008 Sep 30
5
Corrupted transaction log file / record size too small
...; struct lastlog ll; const char *lastlog = LASTLOG; /** initialize the lastlog structure: **/ memset(&ll, 0, sizeof(ll)); /** fill in the data: **/ ll.ll_time = time(NULL); strncpy(ll.ll_line, service, sizeof(ll.ll_line)); strncpy(ll.ll_host, remote_system, sizeof(ll.ll_host)); /** update the lastlog file: **/ if ((fd = open(lastlog, O_RDWR)) >= 0) { lseek(fd, (off_t)(uid * sizeof(ll)), 0); if(write(fd, &ll, sizeof(ll)) != sizeof(ll)) { syslog(LOG_INFO, "Could not write %.100s...
2004 Jan 26
6
Kernel modules listing
Hi all, please, is there some utility/command/... to list all installed kernel modules ? Peter Rosa
2003 Oct 08
4
OS/390 openssh
...Tue Oct 7 08:22:01 2003 @@ -168,6 +168,16 @@ # include <libutil.h> #endif +#if #system(bs2000) && !defined(_LASTLOG_H) +/* Define the structure from the missing <lastlog.h> in OSD/POSIX */ +#define _LASTLOG_H +struct lastlog { + time_t ll_time; + char ll_line[16]; + char ll_host[16]; /* same layout as in utmp */ +}; +#endif + /** ** prototypes for helper functions in this file **/ diff -bur openssh-3.7.1p2.orig/misc.c openssh-3.7.1p2/misc.c --- openssh-3.7.1p2.orig/misc.c Tue Sep 23 10:59:08 2003 +++ openssh-3.7.1p2/misc.c Tue Oct 7 08:22:01 2003 @@ -148,6 +148,11 @...