Commit Graph

75 Commits

Author SHA1 Message Date
Assar Westerlund
f3750c9f04 clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1790 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 03:14:38 +00:00
Assar Westerlund
2a4486f71c (start_login): Set `ut_id' if we're using utmpx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1785 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-30 02:21:04 +00:00
Johan Danielsson
a56d44b4ec Cray rmut(3) needs ut_id.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1777 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 17:08:48 +00:00
Assar Westerlund
65cb0254ca Only include <utmp.h> and <utmpx.h> once
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1776 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 16:23:54 +00:00
Assar Westerlund
1a3ad193cf Check for `_PATH_WTMP'.
Remove stupid macros.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1775 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 15:18:20 +00:00
Assar Westerlund
f1213f7610 Use `_getpty' if there's one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1768 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 07:37:16 +00:00
Assar Westerlund
04a4f72a3d removed const-ness from clean_ttyname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1761 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 01:14:33 +00:00
Assar Westerlund
d781a5536f utmp stuff now seems to be compatible with login
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1752 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 20:37:18 +00:00
Assar Westerlund
a0b25be494 changed utmp-stuff not to use ut_id at all
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1746 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-20 13:48:32 +00:00
Johan Danielsson
9325498645 HAVE_UTMPX -> HAVE_UTMPX_H. Fix for OSF1. Some cleanup.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1713 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-14 17:37:21 +00:00
Assar Westerlund
5da8f7da41 telnetd cleanup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1695 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 06:30:05 +00:00
Johan Danielsson
86cab80d92 Use HAVE_UTMPX_H rather than HAVE_UTMPX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1661 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-04 05:18:32 +00:00
Assar Westerlund
dd02a92a8b replace sprintf all over the place
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
dd39b3368a Do gettimeofday and then copy the data for the sake of those systems
like SGI that can have different timevals in file and memory.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1481 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-23 05:05:17 +00:00
Björn Groenvall
6e801d57f3 Compile under HP-UX 10.
First try to use POSIX termios else SysV termio.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1253 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-21 19:21:17 +00:00
Assar Westerlund
b1c16abe85 sys/termio.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1244 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-17 21:08:08 +00:00
Assar Westerlund
aeaef3368f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1200 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-27 02:06:00 +00:00
Assar Westerlund
3d7c57acdb clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1187 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-24 23:13:35 +00:00
Assar Westerlund
826057d2b5 test for TIOCSWINSZ instead of incorrectly using TIOCGWINSZ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1164 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-01-15 21:17:59 +00:00
Assar Westerlund
94cb9a93ac got rid of lots of stupid casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1057 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-19 22:48:40 +00:00
Assar Westerlund
6202f22614 removed all stupid (void)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1034 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:23:48 +00:00
Assar Westerlund
239db0f710 removed all stupid register declarations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1033 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 20:04:43 +00:00
Assar Westerlund
f5d57fec19 Removed SecurID support and send -a otp if require_otp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@995 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-17 00:20:21 +00:00
Johan Danielsson
89a6a2a095 Really remove bad stuff from environment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@947 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-11 20:51:04 +00:00
Björn Groenvall
cf6e7be0fd Minur changes for HP-UX 10.1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@889 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-25 16:02:47 +00:00
Assar Westerlund
edb66c9354 SOCKS-support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-10-18 05:35:32 +00:00
Assar Westerlund
87db6dcb90 Removed all convex code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@724 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-10 20:35:10 +00:00
Assar Westerlund
351f18b02d NEWINIT, UNICOS7x, UNICOS5: removed
STREAMSPTY: added variable `really_stream'
Now able to handle the case where the OS supports stream ptys but we
run out of them and start using ordinary BSD ones.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@722 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-09 19:35:07 +00:00
Assar Westerlund
1e35a8c714 new option -y for no warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-09-02 19:12:33 +00:00
Johan Danielsson
6b58bfe30b Fix for Irix 4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-24 23:13:03 +00:00
Johan Danielsson
f2e698cc14 Add ifdef for ut_host
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@676 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-24 20:42:05 +00:00
Assar Westerlund
abd01e4efc Include type `int' on all definitions and remove unnecessary
`register'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@645 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-13 23:37:58 +00:00
Björn Groenvall
5c688469ad Minor security fix.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@636 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-07 16:39:05 +00:00
Björn Groenvall
2f2a472b5a Minor security fixes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@634 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-07 15:34:55 +00:00
Johan Danielsson
292be7852e getptyslave returns void
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-04 23:08:40 +00:00
Johan Danielsson
ffa1b993a0 Change HAVE_UTMPX_H to HAVE_UTMPX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@625 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-04 22:41:34 +00:00
Johan Danielsson
5d151b2cc1 Fixed bug with systems lacking logwtmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@563 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-07 22:29:32 +00:00
Assar Westerlund
0588bacb09 gettimeofday buglet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@558 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-05 07:48:40 +00:00
Björn Groenvall
509a2e7241 Fix compile conflicts for HP-UX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@557 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-04 21:25:41 +00:00
Johan Danielsson
db1b2a3ae9 Somewhat changed the way utmpx entries are created. It should now work
on both Solaris and IRIX, without stale login information.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@553 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-03 01:41:48 +00:00
Johan Danielsson
446b212817 Use MaxHostNameLen and MaxPathLen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@536 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-05-13 02:07:52 +00:00
Unknown User d91-jda
2a8068132e Added flags -z to have telnetd log unauthenticated logins, such as
when using an old telnet client. Unfortunately in most of these cases,
the user name is not known.

There should also be a way to tell the difference between bad
authentication (such as with expired tickets) and no attempt to
provide authentication (such as with an old client).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@279 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-26 16:59:05 +00:00
Unknown User d91-jda
8ac52673ff OSF1 patch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@264 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 23:21:10 +00:00
Assar Westerlund
c23bb35fd8 more #ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@263 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 22:15:00 +00:00
Unknown User d91-jda
cc9b280415 Fix for possibly broken I_FIND.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@262 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 21:47:21 +00:00
Björn Groenvall
f565996a72 Minor fixup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@261 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 17:22:54 +00:00
Unknown User d91-jda
62e8fed286 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@258 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 15:14:13 +00:00
Assar Westerlund
fcb08660bc boring includes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@246 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-11 00:38:34 +00:00
Unknown User d91-jda
ac65f7b044 Protoized some more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@241 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-09 23:52:00 +00:00
Unknown User d91-jda
55db31afbe General cleanup of old and ugly code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@235 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-02-07 10:48:34 +00:00