summaryrefslogtreecommitdiffstats
path: root/usr.bin/rsh
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-01-21 11:22:34 +0000
committerru <ru@FreeBSD.org>2005-01-21 11:22:34 +0000
commit2237fd5b989e1de6e9797c76a82dab98e3b0e391 (patch)
tree1e3602b639570c08db6eeff2e2fbb89a969b1eca /usr.bin/rsh
parent8746ca69adcb4882c3c043d819fcb27dcd25971f (diff)
downloadFreeBSD-src-2237fd5b989e1de6e9797c76a82dab98e3b0e391.zip
FreeBSD-src-2237fd5b989e1de6e9797c76a82dab98e3b0e391.tar.gz
Removed remnants of Kerberos support.
Diffstat (limited to 'usr.bin/rsh')
-rw-r--r--usr.bin/rsh/rsh.126
-rw-r--r--usr.bin/rsh/rsh.c4
2 files changed, 6 insertions, 24 deletions
diff --git a/usr.bin/rsh/rsh.1 b/usr.bin/rsh/rsh.1
index 73bab25..469e130 100644
--- a/usr.bin/rsh/rsh.1
+++ b/usr.bin/rsh/rsh.1
@@ -32,7 +32,7 @@
.\" @(#)rsh.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd October 16, 2002
.Dt RSH 1
.Os
.Sh NAME
@@ -40,10 +40,9 @@
.Nd remote shell
.Sh SYNOPSIS
.Nm
-.Op Fl 46Kdnx
-.Op Fl t Ar timeout
-.Op Fl k Ar realm
+.Op Fl 46dn
.Op Fl l Ar username
+.Op Fl t Ar timeout
.Ar host
.Op command
.Sh DESCRIPTION
@@ -69,27 +68,18 @@ The options are as follows:
Use IPv4 addresses only.
.It Fl 6
Use IPv6 addresses only.
-.It Fl K
-Turn off all Kerberos authentication.
.It Fl d
Turn on socket debugging (using
.Xr setsockopt 2 )
on the
.Tn TCP
sockets used for communication with the remote host.
-.It Fl k Ar realm
-Cause
-.Nm
-to obtain tickets for the remote host in
-.Ar realm
-instead of the remote host's realm as determined by
-.Xr krb_realmofhost 3 .
.It Fl l Ar username
Allow the remote
.Ar username
to be specified.
By default, the remote username is the same as the local username.
-Kerberos authentication is used, and authorization is determined
+Authorization is determined
as in
.Xr rlogin 1 .
.It Fl n
@@ -98,11 +88,6 @@ Redirect input from the special device
(see the
.Sx BUGS
section of this manual page).
-.It Fl x
-Turn on
-.Tn DES
-encryption for all data exchange.
-This may introduce a significant delay in response time.
.It Fl t Ar timeout
Allow a
.Ar timeout
@@ -149,9 +134,6 @@ to
.Sh SEE ALSO
.Xr rlogin 1 ,
.Xr setsockopt 2 ,
-.Xr kerberos 3 ,
-.Xr krb_realmofhost 3 ,
-.Xr krb_sendauth 3 ,
.Xr rcmd 3 ,
.Xr ruserok 3 ,
.Xr auth.conf 5 ,
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c
index 63bc661..4a2f0de 100644
--- a/usr.bin/rsh/rsh.c
+++ b/usr.bin/rsh/rsh.c
@@ -120,7 +120,7 @@ main(int argc, char *argv[])
argoff = 1;
}
-#define OPTIONS "468KLde:l:nt:w"
+#define OPTIONS "468Lde:l:nt:w"
while ((ch = getopt(argc - argoff, argv + argoff, OPTIONS)) != -1)
switch(ch) {
case '4':
@@ -371,6 +371,6 @@ usage(void)
{
(void)fprintf(stderr,
- "usage: rsh [-46] [-nd] [-l login] [-t timeout] host [command]\n");
+ "usage: rsh [-46dn] [-l login] [-t timeout] host [command]\n");
exit(1);
}
OpenPOWER on IntegriCloud