Commit Graph

43 Commits

Author SHA1 Message Date
markm
9275f6f375 Change edistribution to krb4 in preaparation for K5 1999-09-19 22:26:02 +00:00
markm
f5d1994712 Fix for new Kerberos4. 1999-09-19 22:11:15 +00:00
markm
a2bd531f64 Fix Common Error brokenness. 1999-09-06 20:22:47 +00:00
peter
e4b04a2b21 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nik
7e91e73b9f Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +00:00
bde
5b515643f5 Fixed usage message to almost match the man page. The old -d option and
the new -i option were missing.

Fixed style bugs in previous commit:
(1) initialisation of a local variable in its declaration.
(2) inconsistency of (1) with style of nearby code.
(3) disorder of declaration for (1).
(4) a line longer than 80 characters.
(5) bitrot in the printf() -> err() cleanups to help bloat the line in (4).
1999-05-27 12:58:41 +00:00
peter
d3e21ccf3e Add a -i localname switch (restricted to root) to specify a different
local "login" name for rcmd(3).  This is particularly useful for things
like portslave and other packages with terminal server functionality
where a login can either run ppp locally or get shunted off to another
box via rlogin depending on radius authentication etc.  Quite often the
local box doesn't even have accounts, so a flag such as this is needed.
Obviously this is restricted to callers with uid == 0.
1999-05-25 11:14:33 +00:00
markm
eae906720c Use KJH's auth.conf parser to turn on/off Kerberos in userland. 1998-10-09 06:47:57 +00:00
obrien
04be6dc763 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
jb
6c8bd8f8ef Add -lcrypt when building kerberos. 1998-09-05 00:32:27 +00:00
markm
57b61e8f72 Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
markm
671ec9eb31 Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
case.
1998-03-26 19:43:06 +00:00
markm
1069dc1e68 Quite a while back KTH (who are the good folks who wrote our KerberosIV)
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
1998-03-26 18:03:41 +00:00
markm
2055bcbf81 Changes for KTH KerberosIV.
Also quieten -Wall a bit.
1997-09-28 08:57:24 +00:00
charnier
f489e0583d Use err(3). Document -l flag.
Obtained from: OpenBSD
1997-08-05 06:46:46 +00:00
peter
1a608ac729 kill the undead 1997-07-13 14:26:00 +00:00
bde
6e7c2bea71 This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.
1997-07-06 06:54:14 +00:00
bde
e5748dd1c9 Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,
pascal and vmstat.sparc.  All changed files on the vendor branch should
already have been imported.
1997-07-06 06:54:14 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
markm
bb042a826b Better buffer length calculation and overrun detection. Closes PR 2577
Submitted by:	Julian Assange
1997-02-09 21:34:14 +00:00
wosch
ab0d7e7c60 Sort cross references. 1997-01-15 23:25:55 +00:00
bde
071f2afd3e Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
pst
a28549e553 Add Bruce's improvement to security patch 1996-07-25 18:27:40 +00:00
pst
fc8127ad64 Do a bounds check on the strcpy of environment variables onto the stack. 1996-07-15 16:29:03 +00:00
markm
1bc7ca8305 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
markm
a0d2025622 Rename des_set_key -> des_set_key_krb. (libdes conflict) 1996-02-03 11:51:19 +00:00
wosch
e2e3dfb032 Section FILES and SEE ALSO complete 1996-01-29 00:02:39 +00:00
peter
ad125bf277 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
peter
6470cdf2a0 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
gibbs
3fefb4a245 Kerberos can now deal with multi-homed clients.
Kerberos obtains a network address for the local host from the routing
tables and uses it consistently for all Kerberos transactions.  This ensures
that packets only leave the *authenticated* interface.  Clients who open
and use their own sockets for encrypted or authenticated correspondance
to kerberos services should bind their sockets to the same address as that
used by kerberos.  krb_get_local_addr() and krb_bind_local_addr() allow
clients to obtain the local address or bind a socket to the local address
used by Kerberos respectively.

Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman>
Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org>
1995-10-05 21:30:21 +00:00
markm
8a8e624232 Updating /usr/include/kerberosIV/des.h so eBones will build breaks
rcp and rlogin.
(patch supplied)

Submitted by:  John Capo <jc@irbs.com>
1995-09-10 14:59:51 +00:00
ache
350c60cdc2 Back out speed reducing to 38400 for old remote rlogind.
I do some digging out on this subject and found that remote
rlogind may reduce big speeds to 38400 by itself and (as more often
rlogind variant) speed setting ioctl fails, so speed left on 9600.
In all cases it doesn't do any real harm.
1995-08-03 23:54:49 +00:00
ache
7963e3fb69 Reduce passed speed to 38400, like telnet does too.
Remote rlogind may not understand speeds > 38400.
1995-08-01 02:23:21 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
dg
f7797d2a5e Added "D" option to usage clause. 1995-05-03 06:55:19 +00:00
dg
c391b428be Added a "-D" option to set the TCP_NODELAY socket option. 1995-05-03 06:25:56 +00:00
wollman
6f83a72187 Add distribution=krb for P-HK 1994-11-20 23:23:28 +00:00
csgr
5b269a471e First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES.  (Far fewer contortions,
and both default to off.)  IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.
1994-09-29 13:06:54 +00:00
dfr
84009a130d Move the call to des_set_key to after the kerberos initialisation, removing
assumption about the implementation of des_read/des_write.
1994-09-26 09:22:08 +00:00
ats
76c19c58ea Reviewed by:
Add entries for the speed 57600 and 115200 to the allowed speeds.
1994-09-06 11:17:30 +00:00
csgr
674c711755 Removed des_rw.c from rlogin - this is now in libkrb.
I hope there will be no problems at the moment with programs depending
on this - I think Garrett has commented kerberos out of everything though
1994-08-07 20:56:28 +00:00
wollman
c9984f0195 Don't use Kerberos yet, we aren't ready for it. 1994-08-05 20:39:34 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00