1820761 Members
3567 Online
109627 Solutions
New Discussion юеВ

RH9/remsh-rexec

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

RH9/remsh-rexec

What do I need to do to open up rlogin and remsh for RH9. I need to open this up so Openview can communicate with it and load mibs and schedules for ITO.

10x
UNIX IS GOOD
4 REPLIES 4
Umapathy S
Honored Contributor
Solution

Re: RH9/remsh-rexec

Robert,
Under /etc/xinetd.d there will be configuration files for each service. Edit for rlogin and change DISABLE=yes to no.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Huc_1
Honored Contributor

Re: RH9/remsh-rexec

Dont use rlogin, rsh and generaly r command if you can avoid it this is "unsafe" in any but trusted Lan.

instead setup and use ssh, scp, sftp command this is much safer and with equivalent functionality.

if rsh is your choice then Umapathy reply, is the way to go.

If you need more let us know.

J-P
Smile I will feel the difference
Dave Falloon
Trusted Contributor

Re: RH9/remsh-rexec

To get this to work on redhat 7.2 machines I had to remove the entire disable = line. When I changed the yes to a no it was still unavailable when I restarted xinetd. So if you can not get it to work with changing the yes to a no, try removing the entire disable line.

Dave
Clothes make the man, Naked people have little to no effect on society
Stuart Browne
Honored Contributor

Re: RH9/remsh-rexec

As it's a RedHat box, you could just use 'chkconfig on'. For super-server services, you don't even need to restart/reconfig xinetd yourself, it does it all for you.

Also, you may need to allow 'root' access, as by default no RH box will allow a root login over a psudeo tty.

The workaround for this (read: quick hack) is to put in 'rsh' or 'rlogin' in the '/etc/securetty' file. This means obviously that it is no longer secure, so use other means for securing these ports.
One long-haired git at your service...