Operating System - HP-UX
1752590 Members
3301 Online
108788 Solutions
New Discussion юеВ

Re: how to configure rlogin

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

how to configure rlogin

Hi

I want to configure rlogin in HP-UX. how to do that.
10 REPLIES 10
yulianto piyut
Valued Contributor
Solution

Re: how to configure rlogin

1. enable rlogin, edit /etc/inetd.conf and uncomment line rlogin, then do "inetd -c".
2. create .rhosts at user home directory that will be permitted to do rlogin:
hostnameA user_name
hostnameB user_name
Suraj K Sankari
Honored Contributor

Re: how to configure rlogin

hi,
>>I want to configure rlogin in HP-UX. how to do that
means you are not able to rlogin into the system right ?

you have to check this things.
/etc/inetd.conf look this line this should not be # marked
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd

after removing the # restart the network service.

inetd -c

Suraj
щ╗ЮчЗГ
Valued Contributor

Re: how to configure rlogin

I'm sure this doc will help you!

http://www.docs.hp.com/en/B2355-90827/ch02s01.html

Regards!
Man's mind, once stretched by a new idea, never regains its original dimensions
щ╗ЮчЗГ
Valued Contributor

Re: how to configure rlogin

One more thing to add,
The file /etc/hosts.equiv is a list of host names that have the same users. If your login
name is user1 on one system, it is assumed that you are the same user1 on all hosts listed in hosts.equiv. This is helpful when rlogin is used, and it must be configured correctly when using remsh and rcp. You may want to mention $HOME/.rhosts as an alternative to hosts.equiv.
Man's mind, once stretched by a new idea, never regains its original dimensions
Md. Farhan A Azam
Trusted Contributor

Re: how to configure rlogin

Hi,

Already you got lot's og information, i just want to add some thing.

host entry(/etc/hosts)should be there in both and remote host.
Entry should be there in .rhosts file of both local & remote host. (In user profile you will get .rhosts file).
If firewall is between local and remote host then ensure that 513 port is open.

Thnx...Farhan
senthil_kumar_1
Super Advisor

Re: how to configure rlogin

Hi yulianto piyut

what is the purpose of ".rhosts"

pls explain me in detail

Hi Ignited

what is the purpose of "/etc/hosts.equiv"

pls exxpain me in detail


Pete Randall
Outstanding Contributor

Re: how to configure rlogin

The .rhosts is placed in an individual user's home directory to allow them access without having to fill in a password. The /etc/hosts.equiv file accomplishes the same thing on a host by host basis rather than by indiviual user. The .rhosts file is the only way to set up passwordless access for the root user, by the way.


Pete

Pete
Ganesan R
Honored Contributor

Re: how to configure rlogin

Hi Senthilkumar,

Enabling the services in /etc/inetd.conf and /etc/services is enough for rlogin to work.

.rhosts and /etc/hosts.equiv files for basically to allow the users and hosts based on the authentication

>>what is the purpose of ".rhosts"
pls explain me in detail<<<

this file will exist in individual users home directories. Users allowed here in .rhosts file will be allowed without password.

>>what is the purpose of "/etc/hosts.equiv"<<
This is host based authentication

man hosts.equiv and man rhosts will give you enough details.

Best wishes,

Ganesh.
щ╗ЮчЗГ
Valued Contributor

Re: how to configure rlogin

Hi Senthil,

Here is the detailed explanation for /etc/hosts.equiv and .rhosts

http://docs.hp.com/en/B9106-90011/hosts.equiv.4.html

Hope this answers your question!

Regards!
Man's mind, once stretched by a new idea, never regains its original dimensions