summaryrefslogtreecommitdiffstats
path: root/upstream/debian-bookworm/man5/rhosts.5
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:43:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:43:11 +0000
commitfc22b3d6507c6745911b9dfcc68f1e665ae13dbc (patch)
treece1e3bce06471410239a6f41282e328770aa404a /upstream/debian-bookworm/man5/rhosts.5
parentInitial commit. (diff)
downloadmanpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.tar.xz
manpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.zip
Adding upstream version 4.22.0.upstream/4.22.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-bookworm/man5/rhosts.5')
-rw-r--r--upstream/debian-bookworm/man5/rhosts.540
1 files changed, 40 insertions, 0 deletions
diff --git a/upstream/debian-bookworm/man5/rhosts.5 b/upstream/debian-bookworm/man5/rhosts.5
new file mode 100644
index 00000000..4edddc99
--- /dev/null
+++ b/upstream/debian-bookworm/man5/rhosts.5
@@ -0,0 +1,40 @@
+.Dd Sun, 13 Apr 2003 00:24:32 +0200
+.Dt RHOSTS 5
+.Sh NAME
+.Nm rhosts
+.Nd allow
+.Nm rlogin ,
+.Nm rsh
+and
+.Nm rcp
+connections to the local machine without a password.
+.Sh SYNOPSIS
+.Pa $HOME/.rhosts
+.Sh DESCRIPTION
+The
+.Pa .rhosts
+file can allow specific remote users and/or hosts to execute commands on the local machine.
+The file uses the following format:
+.Pp
+.D1 Ar host Op Ar user Li | Li @ Ns Ar group
+.Pp
+Such an entry grants password-free access for the user with
+the login name
+.Ar user
+from
+.Ar host .
+If no
+.Ar user
+is specified, the user must have the same login name on the remote host and the local host.
+For security reasons you should always use the FQDN of the hostname and not the short hostname.
+Netgroups can be specified by preceding the
+.Ar group
+by an @ sign.
+.Pp
+The
+.Pa .rhosts
+file must be owned by the user or root, and writable only by the owner.
+.Sh SEE ALSO
+.Xr rsh 1 ,
+.Xr rlogin 1 ,
+.Xr rcp 1 .