History log of /freebsd-10.0-release/usr.bin/rlogin/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


241737 19-Oct-2012 ed

More -Wmissing-variable-declarations fixes.

In addition to adding `static' where possible:

- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.


236892 11-Jun-2012 des

None of these programs actually use auth.conf.

MFC after: 1 week


229403 03-Jan-2012 ed

Replace index() and rindex() calls with strchr() and strrchr().

The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.


221123 27-Apr-2011 jhb

Raise rlogin back to a WARNS level of 6.

Tested by: make universe


221088 26-Apr-2011 dougb

Revert r221053 by replacing WARNS?= 3 since it's breaking the build on
several arches.


221079 26-Apr-2011 jhb

Generate the network byte order version of the window size structure in a
temporary variable on the stack and then copy that into the output buffer
so that the htons() conversions use aligned accesses.

MFC after: 1 month


221053 26-Apr-2011 obrien

This builds OK using the parent dir's WARNS=6.
[built on both AMD64 and i386]


221052 26-Apr-2011 obrien

Catch up with r57841 which removed the possible linking against libutil
by not bothering to include its API.


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


152397 13-Nov-2005 dwmalone

len and len2 work better as size_t


148726 05-Aug-2005 stefanf

Use socklen_t where appropriate.


140909 27-Jan-2005 delphij

Remove unnecessary SRCS= where could be guessed directly by our
bsd.*.mk infrasture.

Obtained from: ru


140569 21-Jan-2005 ru

Removed Kerberos remnants.


140420 18-Jan-2005 ru

Sort sections.


137164 03-Nov-2004 ru

Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by: oliver


131507 03-Jul-2004 ru

Deal with double whitespace.


131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


120547 28-Sep-2003 tjr

Use the POSIX tty interface instead of the old interface. This makes
rlogin work properly without COMPAT_43.

Obtained from: NetBSD (mycroft)


120546 28-Sep-2003 tjr

Remove remnants of Kerberos -Kkx options.


105268 16-Oct-2002 markm

Dekerberise. The corresponding userland stuff has been dekerberised
for ages, and no-one seems to have noticed. Viva PAM!

Fix some easy/trivial warnings while I'm here.


105235 16-Oct-2002 charnier

Do not repeat option name in its definition. Use .Nm. In the sequence ``~.'',
``.'' is not a sentence termination, it must be escaped to be put inside
quotes.
Abort if execv() fails by adding err(). Do not dot terminate error messages.


97788 03-Jun-2002 mike

Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.


96197 08-May-2002 des

Really include <paths.h> (it seems it was brought in indirectly)


96196 08-May-2002 des

Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.

Sponsored by: DARPA, NAI Labs


95621 28-Apr-2002 markm

Easy warns fixes; use const, mark unused function parameters. Remove
unused includes.


95620 28-Apr-2002 markm

Remove GCC-specific flags.


95124 20-Apr-2002 charnier

Use `The .Nm utility'


94985 18-Apr-2002 ru

Replaced exists() tests with two equivalent defined().

LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.


93057 23-Mar-2002 imp

o unifdef -D__STDC__
o use ansi function definitions
o remove OLDSUN


92921 22-Mar-2002 imp

remove __P


92473 17-Mar-2002 keramida

Fix typo: supporting -> support.

PR: docs/35956
Submitted by: Gary W. Swearingen <swear@blarg.net>
MFC after: 3 days


91434 27-Feb-2002 fenner

Use SIGUSR1 to propogate SIGURG to the child; security measures prevent
the parent from sending SIGURG itself to the child. This fixes the
problem of occasionally failing to pass the window size.


83391 13-Sep-2001 ru

Set BINOWN=root explicitly for setuid root binaries.

This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.


79535 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71102 16-Jan-2001 ru

Prepare for mdoc(7)NG.


69102 24-Nov-2000 jkoshy

[rlogin.1] Document the `-4' and `-6' options. Correct a typo.
[rlogin.c] Make the usage message match the code.


68963 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68756 15-Nov-2000 ben

remove trailing periods from SEE ALSO.


65428 04-Sep-2000 imp

getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.


57841 09-Mar-2000 kris

Buildworld fixes for NO_OPENSSH and NO_OPENSSL

Approved by: jkh


57450 24-Feb-2000 markm

Use libcrypto in place of libdes.


57232 15-Feb-2000 shin

Add -4 and -6 options.

Current getaddrinfo() implemetation has a problem of too much resolving
waiting time on INET6 enabled systems.
-4 and -6 options can limit name resolving address family and is a possible
workaround for the problem.

Approved by: jkh


56590 25-Jan-2000 shin

several tcp apps IPv6 update
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


55562 07-Jan-2000 phantom

. mdoc(7)'fy
. add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages
. sort Xrs in SEE ALSO sections

Patches based on PR: docs/15680
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>


54782 18-Dec-1999 peter

Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design). libcrypt has
been adjusted to not need the runtime -lmd. It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.


54677 16-Dec-1999 marcel

Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.


51436 19-Sep-1999 markm

Change edistribution to krb4 in preaparation for K5


51434 19-Sep-1999 markm

Fix for new Kerberos4.


51039 06-Sep-1999 markm

Fix Common Error brokenness.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

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


47549 27-May-1999 bde

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).


47488 25-May-1999 peter

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.


40103 09-Oct-1998 markm

Use KJH's auth.conf parser to turn on/off Kerberos in userland.


39495 19-Sep-1998 obrien

Remove useless `BINOWN=root' now that it is the default.


38827 05-Sep-1998 jb

Add -lcrypt when building kerberos.


38149 06-Aug-1998 markm

Fix LIBDIR (for aout/ELF).


34900 26-Mar-1998 markm

Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
case.


34897 26-Mar-1998 markm

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.


29922 28-Sep-1997 markm

Changes for KTH KerberosIV.
Also quieten -Wall a bit.


27919 05-Aug-1997 charnier

Use err(3). Document -l flag.
Obtained from: OpenBSD


27369 13-Jul-1997 peter

kill the undead


27242 06-Jul-1997 bde

This commit was generated by cvs2svn to compensate for changes in r27241,
which included commits to RCS files with non-trunk default branches.


24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22510 09-Feb-1997 markm

Better buffer length calculation and overrun detection. Closes PR 2577
Submitted by: Julian Assange


21748 15-Jan-1997 wosch

Sort cross references.


18286 14-Sep-1996 bde

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.


17284 25-Jul-1996 pst

Add Bruce's improvement to security patch


17177 15-Jul-1996 pst

Do a bounds check on the strcpy of environment variables onto the stack.


14024 11-Feb-1996 markm

#include <kerberosIV/des.h> -> #include <des.h>


13881 03-Feb-1996 markm

Rename des_set_key -> des_set_key_krb. (libdes conflict)


13682 29-Jan-1996 wosch

Section FILES and SEE ALSO complete


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


11233 05-Oct-1995 gibbs

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>


10663 10-Sep-1995 markm

Updating /usr/include/kerberosIV/des.h so eBones will build breaks
rcp and rlogin.
(patch supplied)

Submitted by: John Capo <jc@irbs.com>


9881 03-Aug-1995 ache

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.


9834 01-Aug-1995 ache

Reduce passed speed to 38400, like telnet does too.
Remote rlogind may not understand speeds > 38400.


8874 30-May-1995 rgrimes

Remove trailing whitespace.


8234 03-May-1995 dg

Added "D" option to usage clause.


8232 03-May-1995 dg

Added a "-D" option to set the TCP_NODELAY socket option.


4715 20-Nov-1994 wollman

Add distribution=krb for P-HK


3197 29-Sep-1994 csgr

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.


3113 26-Sep-1994 dfr

Move the call to des_set_key to after the kerberos initialisation, removing
assumption about the implementation of des_read/des_write.


2520 06-Sep-1994 ats

Reviewed by:
Add entries for the speed 57600 and 115200 to the allowed speeds.


1910 07-Aug-1994 csgr

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


1868 05-Aug-1994 wollman

Don't use Kerberos yet, we aren't ready for it.


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.