HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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
Johnson Punniyalingam
Honored Contributor

Re: how to configure rlogin

Hi Senthil Kumar

>>what is the purpose of ".rhosts"

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


To allow a user access to a remote system using rcp or remsh or rlogin without supplying a password, set up an /etc/hosts.equiv or $HOME/.rhosts file on the remote system. See the hosts.equiv(4) manpage for more information.

The /etc/hosts.equiv file can contain NFS netgroups. See Installing and Administering NFS Services for more information.

$HOME/.rhosts file
Users listed in $HOME/.rhosts are allowed access to the local system, from the remote systems and accounts named in the file, without supplying a password. This file should be owned by the local user.

In the following example, /users/spence/.rhosts resides on system wsj6700. Users tom and patrick can log in to spenceâ s account on wsj6700, from ws732 and wsb2600 respectively, without supplying a password.

Thanks,
Johnson
Problems are common to all, but attitude makes the difference