Damien Miller
f5a81473a9
- (djm) Irix strips "/dev/tty" from [uw]tmp entries (other systems only
...
strip "/dev/"). Fix loginrec.c based on patch from Alain St-Denis
<Alain.St-Denis@ec.gc.ca>
2000-09-30 21:34:44 +11:00
Damien Miller
578783e6bf
- (djm) Seperate tests for int64_t and u_int64_t types
2000-09-23 14:12:24 +11:00
Damien Miller
d6f204d71f
- (djm) Fix address logging in utmp from Kevin Steves
...
<stevesk@sweden.hp.com>
2000-09-23 13:57:27 +11:00
Damien Miller
bac2d8aa5e
- (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>
2000-09-05 16:13:06 +11:00
Damien Miller
e5192fafbf
- (djm) NeXT tweaks from Ben Lindstrom <mouring@pconline.com>
2000-08-29 14:30:37 +11:00
Damien Miller
c1132e7759
- (djm) Lastlog was not getting closed after writing login entry
2000-08-18 14:08:38 +10:00
Damien Miller
e477ef6529
- (djm) Don't seek in directory based lastlogs
...
- (djm) Fix --with-ipaddr-display configure option test. Patch from
Jarno Huuskonen <jhuuskon@messi.uku.fi>
2000-08-15 10:21:17 +10:00
Damien Miller
348c9b7a95
- (djm) More SunOS 4.1.x fixes from Nate Itkin <nitkin@europa.com>
2000-08-15 10:01:22 +10:00
Damien Miller
36ccb5c4f3
- (djm) utmp direct write & SunOS 4 patch from Charles Levert
...
<charles@comm.polymtl.ca>
2000-08-09 16:34:27 +10:00
Damien Miller
7a0e5dc981
- (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, report
...
from Jim Watt <jimw@peisj.pebio.com>
2000-07-11 12:15:54 +10:00
Damien Miller
31abc9addb
- (djm) More NeXT compatibility from Ben Lindstrom <mouring@pconline.com>
...
Including sigaction() et al. replacements
2000-07-09 23:26:27 +10:00
Damien Miller
b38ea86526
- (djm) Replace ut_name with ut_user. Patch from Jim Watt
...
<jimw@peisj.pebio.com>
2000-07-09 21:37:49 +10:00
Damien Miller
9b6d4ab8f9
- (djm) Fix brace mismatch from Corinna Vinschen <vinschen@cygnus.com>
2000-07-02 08:43:18 +10:00
Damien Miller
8e81ed3081
- (djm) Login fixes from Tom Bertelson <tbert@abac.com>
2000-07-01 13:17:42 +10:00
Damien Miller
53c5d467c3
- (djm) Fixes to lastlog code for Irix
...
- (djm) Use atomicio in loginrec
2000-06-28 00:50:50 +10:00
Damien Miller
dd47aa21fa
- (djm) Formatting
2000-06-27 11:18:27 +10:00
Damien Miller
f8af08d7cb
- (djm) Fixes to login code - not setting li->uid, cleanups
2000-06-27 09:40:06 +10:00
Damien Miller
d9a0a20671
- (djm) Typo in loginrec.c
2000-06-20 13:49:11 +10:00
andre
98cabe0546
*** empty log message ***
2000-06-19 09:11:30 +00:00
andre
6bb92374df
Big loginrec.c update
...
- MIN_SIZEOF macro to pick smallest buffer for str[ln]cpy()
- fixes lastlog clobber spotted by P.S.S.Camp <P.S.S.Camp@ukc.ac.uk>
- Added some top-level api documentation
- Re-ordered construct_utmp(x)() to build well-formed structures for
both login and logout, based on li->type.
- change wtmp(x)_logout() to match new construct_*() form
- Improved error responses throughout
- Add ut_type cross-check for 'lastlog-from-wtmp(x)' where available
- utmp_write_direct() has had some testing. Oh yes!
- Re-ordered loginrec.h slightly
2000-06-19 08:20:03 +00:00
Damien Miller
1a13225d87
- (djm) Fix short copy in loginrec.c (based on patch from Phill Camp
...
<P.S.S.Camp@ukc.ac.uk>
2000-06-13 21:23:17 +10:00
andre
ecaabf1b6a
Fixed getlast_entry() so that it doesn't try to use utmp(x) if
...
DISABLE_LASTLOG is defined. Bug reported by Tom Bertelson
<tbert@abac.com> for AIX.
2000-06-12 22:21:44 +00:00
Damien Miller
d5bf307f7b
- (djm) Remove duplicate headers from loginrec.c
2000-06-07 21:32:13 +10:00
andre
61e67250dc
Many changes to new login code based on Damien's feedback:
...
- Removed many redundant accessor/mutator methods as they're not necesary
in OpenSSH
- Added proper credits for OpenBSD code in loginrec.c
- Changed function definitions to the OpenBSD style
- Removed spurious 'L' prefix in line filename abbreviation for ut_line
- Added some documentation in loginrec.c
- Changed lastlog access function names
- Removed #include lines in mid-file loginrec.c
- loginrec.h, login.c and logintest.c changed to reflect new interface
- Added TODO note for ttyslot() replacement
2000-06-04 17:07:49 +00:00
andre
60f3c983cc
Disable lastlog for AIX, as it's handled by the OS as part of the login
...
message
2000-06-03 16:18:19 +00:00
andre
2ff7b5d028
Added new login recording code
...
Added test program for login code (make logintest)
2000-06-03 14:57:40 +00:00