# 513 - Pentesting Rlogin

## Basic Information

This service was mostly used in the old days for remote administration but now because of security issues this service has been replaced by the slogin and the ssh.

**Default port:** 513

```
PORT    STATE SERVICE
513/tcp open  login
```

## **Login**

```
apt-get install rsh-client
```

This command will try to **login** to the remote host by using the login name **root** (for this service **you don't need to know any password**):

```
rlogin <IP> -l <username>
```

### [Brute force](/githubimport/brute-force.md#rlogin)

## Find files

```
find / -name .rhosts
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chinnidiwakar.gitbook.io/githubimport/pentesting/pentesting-rlogin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
