Operating System - HP-UX
1834459 Members
2517 Online
110067 Solutions
New Discussion

How do I setup rlogin/r commands since I am using tcp wrappers ?

 
Sammy_2
Super Advisor

How do I setup rlogin/r commands since I am using tcp wrappers ?

hpux 11.11
Trying to setup rlogin rcp for oracle user on oracle rac cluster server. DBA said rlogin is required for RAC .I suggested ssh but not sure if oracle rac supports ssh instead of r commands.

How do I setup rlogin/r commands since I am using tcp wrappers in my /etc/inetd.conf fiile
$

syslog.entries on inbphes5 when I rlogin from server inbphes6 to inbphes5
=============================
inbphes6:/home/oracle ==> id
uid=100(oracle) gid=200(dba) groups=212(escript),206(eteam)
inbphes6:/home/oracle ==> rlogin inbphes6
rcmd: Lost connection
inbphes6:/home/oracle ==>

========
inbphes5:/var/adm/syslog ==> cd /home/oracle
inbphes5:/home/oracle ==> more .rhosts
inbphes6.va.dominionnet.com oracle
inbphes6 oracle
inbphes5:/home/oracle ==>
==========================
syslog.entries on inbphes5 when I rlogin from server inbphes6 to inbphes5
====================
Jul 14 12:00:20 inbphes5 su: + 1 root-oracle
Jul 14 12:29:37 inbphes5 rlogind[6858]: Unable to open /etc/tcpd.conf : using default values
Jul 14 12:29:37 inbphes5 rlogind[6858]: allowed connection from inbphes6
Jul 14 12:29:37 inbphes5 rlogind[6858]: error: cannot execute /usr/lbin/wrapper/rlogind: No such file or directory
===============
bootps dgram udp wait root /usr/lbin/bootpd bootpd
#finger stream tcp nowait bin /usr/lbin/fingerd fingerd
###login stream tcp nowait root /usr/lbin/rlogind rlogind
login stream tcp nowait root /usr/lbin/tcpd rlogind
###shell stream tcp nowait root /usr/lbin/remshd remshd
shell stream tcp nowait root /usr/lbin/tcpd /usr/lbin/remshd
###exec stream tcp nowait root /usr/lbin/rexecd rexecd
exec stream tcp nowait root /usr/lbin/tcpd /usr/lbin/rexecd
#uucp stream tcp nowait root /usr/sbin/uucpd uucpd
###ntalk dgram udp wait root /usr/lbin/ntalkd ntalkd
ident stream t
###kshell stream tcp nowait root /usr/lbin/remshd remshd -K
kshell stream tcp nowait root /usr/lbin/tcpd /usr/lbin/remshd -K
###klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
klogin stream tcp nowait root /usr/lbin/tcpd /usr/lbin/rlogind -K
good judgement comes from experience and experience comes from bad judgement.
2 REPLIES 2
Sammy_2
Super Advisor

Re: How do I setup rlogin/r commands since I am using tcp wrappers ?

Got it!. Needed to create /usr/lbin/wrapper dir. and move rlogind over there. by default, rlogind in /etc/inetd.conf loooks in wrapper directory.
Closed issue. 10 pts to me.!!
good judgement comes from experience and experience comes from bad judgement.
Sammy_2
Super Advisor

Re: How do I setup rlogin/r commands since I am using tcp wrappers ?

Tried and worked. RAC oracle requires rsh . newer versions dont.
good judgement comes from experience and experience comes from bad judgement.