From: Jen Selby Date: Mon, 17 Jun 2002 22:11:38 +0000 (+0000) Subject: * klogind.M: documented the -D and -f options X-Git-Tag: krb5-1.3-alpha1~689 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=76d1c054be6e9403993ce80b7b48510d9ed59424;p=krb5.git * klogind.M: documented the -D and -f options * ksh.M: documented the -D and -L options * rcp.M: documented the -c and -C options git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14524 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 6c409afaa..7a7997943 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,9 @@ +2002-06-17 Jen Selby + + * klogind.M: documented the -D and -f options + * ksh.M: documented the -D and -L options + * rcp.M: documented the -c and -C options + 2002-05-22 Ken Raeburn * krlogin.c (oob): Loop reading data until we actually reach the diff --git a/src/appl/bsd/klogind.M b/src/appl/bsd/klogind.M index 0f1f302d1..b4e88f873 100644 --- a/src/appl/bsd/klogind.M +++ b/src/appl/bsd/klogind.M @@ -10,10 +10,10 @@ klogind \- remote login server .SH SYNOPSIS .B klogind [ -.B \-kr54cpPe +.B \-kr54cpPef ] -[ -[ \fB\-w\fP[\fBip\fP|\fImaxhostlen\fP[\fB,\fP[\fBno\fP]\fBstriplocal\fP]] ] +[[ \fB\-w\fP[\fBip\fP|\fImaxhostlen\fP[\fB,\fP[\fBno\fP]\fBstriplocal\fP ]] ] +[ \fB\-D\fP \fIport\fP ] .SH DESCRIPTION .I Klogind is the server for the @@ -149,7 +149,7 @@ is stripped from the remote hostname. By default, the equivalent of .PP .I Klogind -supports three options which are used for testing +supports five options which are used for testing purposes: .IP \fB\-S\ keytab\fP 10 @@ -163,6 +163,17 @@ Set the login program to use. This option only has an effect if DO_NOT_USE_K_LOGIN was not defined when .I klogind was compiled. + +.IP \fB\-D\ port\fP +Run in standalone mode, listening on \fBport\fP. The daemon will exit +after one connection and will not background itself. + +.IP \fB\-f\fP +Allows for standalone daemon operation. A new child is started for +each incoming connection and waits for it to finish before accepting +the next connection. This automagically figures out which port to bind +to if no port is specified. + .SH DIAGNOSTICS All diagnostic messages are returned on the connection associated with the diff --git a/src/appl/bsd/kshd.M b/src/appl/bsd/kshd.M index 43d0f7c81..ac418e6a1 100644 --- a/src/appl/bsd/kshd.M +++ b/src/appl/bsd/kshd.M @@ -8,7 +8,12 @@ .SH NAME kshd \- kerberized remote shell server .SH SYNOPSIS -.B /usr/local/sbin/kshd -kr45ec +.B /usr/local/sbin/kshd +[ +.B \-kr45ec +] +[\fB\-D\fP \fIport\fP] +[\fB\-L\fP \fIvariable\fP] .SH DESCRIPTION .I Krshd is the server for the @@ -64,6 +69,12 @@ mechanisms. This is the same as including \fB\-4\fP and \fB\-5\fP. Require the client to encrypt the connection. Only Kerberos5 clients support encryption. +.IP \fB\-L\ variable\fP +Carry through the current value of the specified variable into the +environment of the child. This option can be used to preserve up to +four variables. + + .IP \fB\-c\fP Require Kerberos5 clients to present a cryptographic checksum of initial connection information like the name of the user @@ -100,7 +111,7 @@ authentication from succeeding in the default mode. If the \fB\-r\fP or \fB\-R\fP options are used, the client must connect from a privileged port. .PP -\fIKrshd\fP supports four options which may be used for testing: +\fIKrshd\fP supports six options which may be used for testing: .IP \fB\-S\ keytab\fP 10 Set the \fIkeytab\fP file to use. @@ -115,6 +126,10 @@ Don't allocate a reserved port for the stderr connection. Use the argument to find the Kerberos binaries. Normally a compiled in argument is used. +.IP \fB\-D\ port \fP +Run in standalone mode, listening on \fBport\fP. The daemon will exit +after one connection and will not background itself. + .TP \fB\-w \fP[\fBip\fP|\fImaxhostlen\fP[\fB,\fP[\fBno\fP]\fBstriplocal\fP]] Controls the form of the remote hostname passed to login(1). diff --git a/src/appl/bsd/rcp.M b/src/appl/bsd/rcp.M index e63963e25..05c3a72c5 100644 --- a/src/appl/bsd/rcp.M +++ b/src/appl/bsd/rcp.M @@ -22,7 +22,7 @@ rcp \- remote file copy .SH SYNOPSIS .B rcp -[\fB\-p\fP] [\fB\-x\fP] [\fB\-k\fP \fIrealm\fP ] [\fB\-D\fP \fIport\fP] +[\fB\-p\fP] [\fB\-x\fP] [\fB\-k\fP \fIrealm\fP ] [\fB-c\fP \fIccachefile\fP] [\fB-C\fP \fIconfigfile\fP] [\fB\-D\fP \fIport\fP] [\fB\-N\fP] [\fB\-PN | \-PO\fP] .I file1 file2 @@ -95,6 +95,14 @@ obtain tickets for the remote host in instead of the remote host's realm as determined by .IR krb_realmofhost (3). .TP +\fB\-c\fP \fIccachefile\fP +change the default credentials cache file to +.I ccachefile +.TP +\fB\-C\fP \fIconfigfile\fP +change the default configuation file to +.I configfile +.TP .B \-r if any of the source files are directories, copy each subtree rooted at that name; in this case the destination must be a directory.