summaryrefslogtreecommitdiff
path: root/man5
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-06-07 17:25:32 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-12 14:56:28 +0200
commitc6fa0841a994c9588432d281925b964ad6d71966 (patch)
tree555174b0e03bcd8ff56d72bee8480860a6aafe04 /man5
parent42c3e94740fbcd17f22c1d545a8a678f74632e2b (diff)
time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
-rw-r--r--man5/hosts.equiv.537
1 files changed, 28 insertions, 9 deletions
diff --git a/man5/hosts.equiv.5 b/man5/hosts.equiv.5
index e44f7c97..b2e30f69 100644
--- a/man5/hosts.equiv.5
+++ b/man5/hosts.equiv.5
@@ -6,36 +6,55 @@
.TH HOSTS.EQUIV 5 2003-08-24 "Linux" "Linux Programmer's Manual"
.SH NAME
/etc/hosts.equiv \- list of hosts and users that are granted "trusted"
-\fBr\fP command access to your system
+.B r
+command access to your system
.SH DESCRIPTION
-The \fBhosts.equiv\fP file allows or denies hosts and users to use
-the \fBr\fP-commands (e.g., \fBrlogin\fP, \fBrsh\fP or \fBrcp\fP) without
+The
+.B hosts.equiv
+file allows or denies hosts and users to use
+the \fBr\fP-commands (e.g.,
+.BR rlogin ,
+.B rsh
+or
+.BR rcp )
+without
supplying a password.
.PP
The file uses the following format:
.TP
\fI[ + | \- ]\fP \fI[hostname]\fP \fI[username]\fP
.PP
-The \fIhostname\fP is the name of a host which is logically equivalent
+The
+.I hostname
+is the name of a host which is logically equivalent
to the local host.
Users logged into that host are allowed to access
like-named user accounts on the local host without supplying a password.
-The \fIhostname\fP may be (optionally) preceded by a plus (+) sign.
+The
+.I hostname
+may be (optionally) preceded by a plus (+) sign.
If the plus sign is used alone it allows any host to access your system.
-You can explicitly deny access to a host by preceding the \fIhostname\fP
+You can explicitly deny access to a host by preceding the
+.I hostname
by a minus (\-) sign.
Users from that host must always supply a password.
For security reasons you should always use the FQDN of the hostname and
not the short hostname.
.PP
-The \fIusername\fP entry grants a specific user access to all user
+The
+.I username
+entry grants a specific user access to all user
accounts (except root) without supplying a password.
That means the
user is NOT restricted to like-named accounts.
-The \fIusername\fP may
+The
+.I username
+may
be (optionally) preceded by a plus (+) sign.
You can also explicitly
-deny access to a specific user by preceding the \fIusername\fP with
+deny access to a specific user by preceding the
+.I username
+with
a minus (\-) sign.
This says that the user is not trusted no matter
what other entries for that host exist.