summaryrefslogtreecommitdiff
path: root/loginrec.c
Commit message (Collapse)AuthorAgeFilesLines
* - (bal) Second around of UNICOS patches. A few other things left.Ben Lindstrom2001-08-061-1/+7
| | | | Patches by William L. Jones <jones@mail.utexas.edu>
* - (bal) UseLogin patch for Solaris/UNICOS. Patch by Wayne DavisonBen Lindstrom2001-05-081-1/+22
| | | | <wayne@blorf.net>
* - (stevesk) remove erroneous #ifdef sgi code.Kevin Steves2001-02-221-6/+1
| | | | Michael Stone <mstone@cs.loyola.edu>
* - stevesk@cvs.openbsd.org 2001/02/04 08:32:27Kevin Steves2001-02-051-52/+52
| | | | | [many files; did this manually to our top-level source dir] unexpand and remove end-of-line whitespace; ok markus@
* Hopefully things did not get mixed around too much. It compiles underBen Lindstrom2001-01-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux and works. So that is at least a good sign. =) 20010122 - (bal) OpenBSD Resync - markus@cvs.openbsd.org 2001/01/19 12:45:26 GMT 2001 by markus [servconf.c ssh.h sshd.c] only auth-chall.c needs #ifdef SKEY - markus@cvs.openbsd.org 2001/01/19 15:55:10 GMT 2001 by markus [auth-krb4.c auth-options.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth1.c auth2.c channels.c clientloop.c dh.c dispatch.c nchan.c packet.c pathname.h readconf.c scp.c servconf.c serverloop.c session.c ssh-add.c ssh-keygen.c ssh-keyscan.c ssh.c ssh.h ssh1.h sshconnect1.c sshd.c ttymodes.c] move ssh1 definitions to ssh1.h, pathnames to pathnames.h - markus@cvs.openbsd.org 2001/01/19 16:48:14 [sshd.8] fix typo; from stevesk@ - markus@cvs.openbsd.org 2001/01/19 16:50:58 [ssh-dss.c] clear and free digest, make consistent with other code (use dlen); from stevesk@ - markus@cvs.openbsd.org 2001/01/20 15:55:20 GMT 2001 by markus [auth-options.c auth-options.h auth-rsa.c auth2.c] pass the filename to auth_parse_options() - markus@cvs.openbsd.org 2001/01/20 17:59:40 GMT 2001 [readconf.c] fix SIGSEGV from -o ""; problem noted by jehsom@togetherweb.com - stevesk@cvs.openbsd.org 2001/01/20 18:20:29 [sshconnect2.c] dh_new_group() does not return NULL. ok markus@ - markus@cvs.openbsd.org 2001/01/20 21:33:42 [ssh-add.c] do not loop forever if askpass does not exist; from andrew@pimlott.ne.mediaone.net - djm@cvs.openbsd.org 2001/01/20 23:00:56 [servconf.c] Check for NULL return from strdelim; ok markus - djm@cvs.openbsd.org 2001/01/20 23:02:07 [readconf.c] KNF; ok markus - jakob@cvs.openbsd.org 2001/01/21 9:00:33 [ssh-keygen.1] remove -R flag; ok markus@ - markus@cvs.openbsd.org 2001/01/21 19:05:40 [atomicio.c automicio.h auth-chall.c auth-krb4.c auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c auth-rhosts.c auth-rsa.c auth.c auth.h auth1.c auth2-chall.c auth2.c authfd.c authfile.c bufaux.c bufaux.h buffer.c canahost.c canahost.h channels.c cipher.c cli.c clientloop.c clientloop.h compat.c compress.c deattack.c dh.c dispatch.c groupaccess.c hmac.c hostfile.c kex.c key.c key.h log-client.c log-server.c log.c log.h login.c login.h match.c misc.c misc.h nchan.c packet.c pty.c radix.h readconf.c readpass.c readpass.h rsa.c scp.c servconf.c serverloop.c serverloop.h session.c sftp-server.c ssh-add.c ssh-agent.c ssh-dss.c ssh-keygen.c ssh-keyscan.c ssh-rsa.c ssh.c ssh.h sshconnect.c sshconnect.h sshconnect1.c sshconnect2.c sshd.c tildexpand.c tildexpand.h ttysmodes.c uidswap.c xmalloc.c] split ssh.h and try to cleanup the #include mess. remove unnecessary #includes. rename util.[ch] -> misc.[ch] - (bal) renamed 'PIDDIR' to '_PATH_SSH_PIDDIR' to match OpenBSD tree - (bal) Moved #ifdef KRB4 in auth-krb4.c above the #include to resolve conflict when compiling for non-kerb install - (bal) removed the #ifdef SKEY in auth1.c to match Markus' changes on 1/19.
* 20001228Ben Lindstrom2000-12-281-1/+5
| | | | | - (bal) Patch to add libutil.h to loginrec.c only if the platform has libutil.h. Suggested by Pekka Savola <pekka@netcore.fi>
* 20001202Ben Lindstrom2000-12-011-6/+1
| | | | | | | | | - (bal) Backed out of part of Alain St-Denis' loginrec.c patch. - (bal) Irix need some sort of mansubdir, patch by Michael Stone <mstone@cs.loyola.edu> Also removed a finished entry in TODO, and changed my address in the CREDITS file to match my new home address.
* Two Ooops. =)Ben Lindstrom2000-11-101-2/+6
| | | | | - INSTALL minor correction for s/key - and I forgot to submit loginrec.c even after I put it in the ChangeLog =)
* - (djm) Irix strips "/dev/tty" from [uw]tmp entries (other systems onlyDamien Miller2000-09-301-4/+14
| | | | | strip "/dev/"). Fix loginrec.c based on patch from Alain St-Denis <Alain.St-Denis@ec.gc.ca>
* - (djm) Seperate tests for int64_t and u_int64_t typesDamien Miller2000-09-231-2/+1
|
* - (djm) Fix address logging in utmp from Kevin StevesDamien Miller2000-09-231-2/+5
| | | | <stevesk@sweden.hp.com>
* - (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>Damien Miller2000-09-051-1/+3
|
* - (djm) NeXT tweaks from Ben Lindstrom <mouring@pconline.com>Damien Miller2000-08-291-7/+8
|
* - (djm) Lastlog was not getting closed after writing login entryDamien Miller2000-08-181-9/+11
|
* - (djm) Don't seek in directory based lastlogsDamien Miller2000-08-151-7/+10
| | | | | - (djm) Fix --with-ipaddr-display configure option test. Patch from Jarno Huuskonen <jhuuskon@messi.uku.fi>
* - (djm) More SunOS 4.1.x fixes from Nate Itkin <nitkin@europa.com>Damien Miller2000-08-151-9/+31
|
* - (djm) utmp direct write & SunOS 4 patch from Charles LevertDamien Miller2000-08-091-2/+2
| | | | <charles@comm.polymtl.ca>
* - (djm) Fix broken inet_ntoa check and ut_user/ut_name confusion, reportDamien Miller2000-07-111-9/+9
| | | | from Jim Watt <jimw@peisj.pebio.com>
* - (djm) More NeXT compatibility from Ben Lindstrom <mouring@pconline.com>Damien Miller2000-07-091-11/+1
| | | | Including sigaction() et al. replacements
* - (djm) Replace ut_name with ut_user. Patch from Jim WattDamien Miller2000-07-091-4/+4
| | | | <jimw@peisj.pebio.com>
* - (djm) Fix brace mismatch from Corinna Vinschen <vinschen@cygnus.com>Damien Miller2000-07-021-2/+2
|
* - (djm) Login fixes from Tom Bertelson <tbert@abac.com>Damien Miller2000-07-011-4/+13
|
* - (djm) Fixes to lastlog code for IrixDamien Miller2000-06-281-32/+24
| | | | - (djm) Use atomicio in loginrec
* - (djm) FormattingDamien Miller2000-06-271-194/+145
|
* - (djm) Fixes to login code - not setting li->uid, cleanupsDamien Miller2000-06-271-28/+26
|
* - (djm) Typo in loginrec.cDamien Miller2000-06-201-2/+2
|
* *** empty log message ***andre2000-06-191-3/+4
|
* Big loginrec.c updateandre2000-06-191-86/+250
| | | | | | | | | | | | | - 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
* - (djm) Fix short copy in loginrec.c (based on patch from Phill CampDamien Miller2000-06-131-6/+6
| | | | <P.S.S.Camp@ukc.ac.uk>
* Fixed getlast_entry() so that it doesn't try to use utmp(x) ifandre2000-06-121-5/+16
| | | | | DISABLE_LASTLOG is defined. Bug reported by Tom Bertelson <tbert@abac.com> for AIX.
* - (djm) Remove duplicate headers from loginrec.cDamien Miller2000-06-071-28/+6
|
* Many changes to new login code based on Damien's feedback:andre2000-06-041-425/+380
| | | | | | | | | | | | | - 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
* Disable lastlog for AIX, as it's handled by the OS as part of the loginandre2000-06-031-2/+2
| | | | message
* Added new login recording codeandre2000-06-031-0/+1385
Added test program for login code (make logintest)