summaryrefslogtreecommitdiff
path: root/loginrec.h
Commit message (Collapse)AuthorAgeFilesLines
* - (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]Darren Tucker2005-02-021-1/+3
| | | | | | Make record_failed_login() call provide hostname rather than having the implementations having to do lookups themselves. Only affects AIX and UNICOS (the latter only uses the "user" parameter anyway). ok djm@
* - (dtucker) [loginrec.h] Bug #952: Increase size of username field to 128Darren Tucker2005-01-201-2/+2
| | | | | bytes to prevent errors from login_init_entry() when the username is exactly 64 bytes(!) long. From brhamon at cisco.com, ok djm@
* 2-term license, matching the rest of loginrec codeDamien Miller2003-06-031-6/+1
|
* - (bal) UseLogin patch for Solaris/UNICOS. Patch by Wayne DavisonBen Lindstrom2001-05-081-1/+4
| | | | <wayne@blorf.net>
* - stevesk@cvs.openbsd.org 2001/02/04 08:32:27Kevin Steves2001-02-051-4/+4
| | | | | [many files; did this manually to our top-level source dir] unexpand and remove end-of-line whitespace; ok markus@
* - (djm) FormattingDamien Miller2000-06-271-12/+1
|
* Big loginrec.c updateandre2000-06-191-6/+13
| | | | | | | | | | | | | - 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
* Many changes to new login code based on Damien's feedback:andre2000-06-041-46/+20
| | | | | | | | | | | | | - 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
* Added new login recording codeandre2000-06-031-0/+167
Added test program for login code (make logintest)