summaryrefslogtreecommitdiffstats
path: root/usr.bin/rlogin/rlogin.1
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-25 11:14:33 +0000
committerpeter <peter@FreeBSD.org>1999-05-25 11:14:33 +0000
commit1245084308e713dbd3aaf2c69a72adef9d65cf93 (patch)
tree29f183078f3b80344e5e0519e9e77b50bc35d3fd /usr.bin/rlogin/rlogin.1
parentb12800119af0fe4e1e856b7f769743ba5ad73047 (diff)
downloadFreeBSD-src-1245084308e713dbd3aaf2c69a72adef9d65cf93.zip
FreeBSD-src-1245084308e713dbd3aaf2c69a72adef9d65cf93.tar.gz
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.
Diffstat (limited to 'usr.bin/rlogin/rlogin.1')
-rw-r--r--usr.bin/rlogin/rlogin.16
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/rlogin/rlogin.1 b/usr.bin/rlogin/rlogin.1
index 869791f..9290ea1 100644
--- a/usr.bin/rlogin/rlogin.1
+++ b/usr.bin/rlogin/rlogin.1
@@ -41,6 +41,7 @@
.Ar rlogin
.Op Fl 8DEKLdx
.Op Fl e Ar char
+.Op Fl i Ar localname
.Op Fl k Ar realm
.Op Fl l Ar username
.Ar host
@@ -98,6 +99,11 @@ option allows user specification of the escape character, which is
``~'' by default.
This specification may be as a literal character, or as an octal
value in the form \ennn.
+.It Fl i
+The
+.Fl i
+option allows the caller to specify a different local name to be used
+for authentication. This option is restricted to processes with uid 0.
.It Fl k
The
.Fl k
OpenPOWER on IntegriCloud