RHOSTS(5)
β¨ NAME β¨
okay bestie, welcome to RHOSTS(5) β the manual page for rhosts. It's giving "let me slide into your machine without a password" energy, because that's literally what it does: allow rlogin, rsh and rcp connections to the local machine without a password. no cap. π
πΈ SYNOPSIS πΈ
$HOME/.rhosts
That's the whole vibe. One file. In your home dir. Periodt. β¨
π¦ DESCRIPTION π¦
The .rhosts file can allow specific remote users and/or hosts to execute commands on the local machine. Like, it's the guest list, but for shell access. π
The file uses the following format:
host [user | @group]
So let's break it down, bestie:
- An entry like that grants password-free access for the user with the login name user from host. No password prompt, no "who dis", just in. π
- If no user is specified, the user must have the same login name on the remote host and the local host. Same username or it's not happening. π
- For security reasons you should always use the FQDN of the hostname and not the short hostname. Like, FQDN only, bestie β short hostnames are not the move. π«
- Netgroups can be specified by preceding the group by an
@sign. So@groupis a thing. Slay. π
The .rhosts file must be owned by the user or root, and writable only by the owner. That's the permission vibe check. π
π SEE ALSO π
Go read those too, they're the supporting cast. π
And that's the whole page, bestie. This icon was served to you by RHOSTS(5), dated Sun, 13 Apr 2003 00:24:32 +0200. Stay safe, keep your .rhosts permissions tight, and don't let strangers in without the FQDN. mwah πβ¨
π¦ where this page comes from
- debian bookworm: rsh-redone-server 85-4
- ubuntu jammy: rsh-redone-server 85-3
- ubuntu noble: rsh-redone-server 85-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms