How do I enable rsh services in Red Hat Enterprise Linux 4 for all users including root?

Updated -

Begin by enabling rsh services as follows:

# up2date rsh-server
# chkconfig rsh on
# chkconfig rexec on
# chkconfig rlogin on

Edit the /etc/securetty, add the following:

rsh
rexec
rlogin

Update the following PAM-related files to allow remote logins from other systems. First, edit the /etc/pam.d/rlogin...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content