General discussion

Locked

RLOGIN PROBLEM

By avmw ·
HOW TO DISABLE RLOGIN IN LINUX ?
OR HOW TO GIVE SELECTIVE RLOGIN RIGHTS FORM
REMOTE NETWORKS?

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

RLOGIN PROBLEM

by Stillatit In reply to RLOGIN PROBLEM

rlogin is one of the services started by inetd. To completely disable rlogin, edit the configuration file for inetd, which is normally /etc/inetd.conf and comment out the line which calls rlogind. Rlogin will stop working at your next reboot, or thenext time your force inetd to read its configuration file.

When you use rlogin to access a system, you need a password for the username you are logging in as unless the user's home directory has a .rhosts file in it which names the computer you are logging in from, or unless a /etc/hosts.equiv exists with that system name in it. Some sites prohibit users from keeping these files around (and enforce the restriction with a cron job that deletes these files).

Warning - rlogin, rcp, rsh, andrexec are tied together in that the .rhosts file that enables one enables all, and they have enough cross-functionality that one can give you the others. Example - you may disable rlogin, but if I can rexec a shell or an xterm session, I can still get in.

If your "remote" networks are remote enough to be on the far side of a firewall, you can block/allow sites from the firewall.

Good luck.

Collapse -

RLOGIN PROBLEM

by avmw In reply to RLOGIN PROBLEM

Poster rated this answer

Collapse -

RLOGIN PROBLEM

by avmw In reply to RLOGIN PROBLEM

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums