Open rsh for root on linux AS4

Posted on May 23, 2008

By default the root can not use the rsh to access the linux server or workstation.If you want to open rsh for root,you need to do on the server or workstation follow up below steps.

1.Make sure that you have install the rsh packages

[root@sv1 ~]# rpm -qa |grep rsh
rsh-server-0.17-25.4
rsh-0.17-25.4

2.startup the rsh service

# chkconfig rsh on

3.create the .rhosts file and input “+” in the home of root

# cat ~/.rhosts
+

4.create /etc/securetty and add entry “rsh”

# cat /etc/securetty
rsh

5.Modify /etc/pam.d/rsh,change line “auth required pam_rhosts_auth.so”
to “auth required pam_rhosts_auth.so promiscuous”

Popularity: 2% [?]

Related Posts:

» Filed Under Linux

Comments

Leave a Reply