1855296 Members
2721 Online
104109 Solutions
New Discussion

rlogin

 
tayal_sumit
Occasional Advisor

rlogin

Hi,

i want to know that how to configure rlogin and which files have to be edit on both source and the target server.

Regards,
Sumit
4 REPLIES 4
Oviwan
Honored Contributor

Re: rlogin

hey

check man rlogin there you can see that you must edit ~/r.hosts

Regards
F Verschuren
Esteemed Contributor

Re: rlogin

rlogin normaly is configguerd in /etc/inedt.conf

cat /etc/inetd.conf |grep ^login
login stream tcp nowait root /usr/lbin/rlogind rlogind

after switching it on do not forget to run a inedt -c
if that is done you can use rlogin to login, if you need to do it whitout a passwd the .rhosts needs to be configgered
Vamsidin
Frequent Advisor

Re: rlogin

create a file named "/.rhosts" in the root directory and permissions 666



TTr
Honored Contributor

Re: rlogin

1. On the target host enable the rlogin service in /etc/inetd.conf. Restart inetd if needed.

2. On the target host check /var/adm/inetd.sec to see if there are any deny or allow entries for the login service. Adjust if necessary

3. On the source server use the rlogin command to connect to the target

4. On the target server, if you want to rlogin without having to type the password, add the source hostname (or IP) in the .rhosts file of the account that you 'd be doing rlogin to. The .rhosts file must be owned by the account where it resides and must NOT have 666 permission mode. (600 or 400 is sufficient). If the .rhosts has 666 permision mode or it is not owned by the account where it resides IT IS IGNORED by rlogind.