1826422 Members
3459 Online
109692 Solutions
New Discussion

Re: rlogin to LINUX

 
SOLVED
Go to solution
Kevin_194
Advisor

rlogin to LINUX

Hi Experts,

how can I rlogin to a LINUX-Client?


Thank you
Kevin
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: rlogin to LINUX

Shalom Kevin,

On a basic level you need a .rhosts file that allows you to authorize users for remote login.

A better option however is to use openssh, which ships with your system. Without modification, you can allow users ssh login which works the same as rlogin but is secure.

http://www.hpuxconsulting.com/5004.ppt

A presentation on how to do the setup.

For rlogin, modification of one of the configuration files in /etc/xinetd.d/ may be needed followed by this command:

service restart xinetd

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Slawomir Gora
Honored Contributor

Re: rlogin to LINUX

Hi,
you need to enable login service (on server site) for xinetd daemon. Location of configuration files depends on distribution you are using.
/etc/xinetd.conf

Here is example of login service.

service login
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.rlogind
server_args = -h
}
Ivan Ferreira
Honored Contributor

Re: rlogin to LINUX

The "r" services are normally not installed on newer linux versions, is replaced by SSH. So, before enabling the service as described above, ensure that the service is installed.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: rlogin to LINUX

Good point Ivan,

Suggest you go with ssh

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
john kingsley
Honored Contributor

Re: rlogin to LINUX

Before you can rlogin into a linux box, verify that the rsh-server has been installed
rpm -q rsh-server

Then you will need to setup the .rhost file in your home directory or hosts.equiv file (see the man page hosts.equiv).

As everyone has said, ssh is a much better solution. It is usually loaded on linux systems by default, but it isn't always loaded on other systems. In order to use it, the other clients in your environement will also need a ssh or PuTTY clients installed. I have some environments where it was easier to load the rsh-server on a few linux clients, rather than install ssh clients on everything else.
Indrajit_1
Valued Contributor

Re: rlogin to LINUX

Hi Kevin,

To enable rlogin, edit the file /etc/xinetd.d/rlogin

make changes in rlogin file..

disable=no
save and come out...
#service xinetd restart

if the file is not present.. install the package from red hat installable cd.

#rpm -ivh --force rloginxxx.rmp

Hope it will resolve ur issue.

cheers
indrajit
Never Ever Give Up