Operating System - HP-UX
1833875 Members
2307 Online
110063 Solutions
New Discussion

rlogin asking for password

 
SOLVED
Go to solution
Fabio Ettore
Honored Contributor

Re: rlogin asking for password

Sorry my insistence...
hpport (HP-UX system)
Eureka (Tru64)

Eureka --->rlogin---> hpport = OK
hpport --->rlogin---> Eureka = asks password

Then it means that HP-UX system recognizes fine the Eureka authentication by /.rhosts and rlogin operation is ok.

If in your instance Eureka doesn't recognize the HP-UX authentication then problem is on Eureka side, with .rhosts or something like that.
Try to submit the question on Tru64 area (too), I think that you will solve your problem by helping of Tru64 experts.

Best regards,
Fabio
WISH? IMPROVEMENT!
Fabio Ettore
Honored Contributor

Re: rlogin asking for password

Hi again,

about rlogind: it is not a daemon that runs with as normal service!
It runs when a rlogind session has been opened successfully, exactly like telnetd.

If you launch

# ps -ef |grep -i rlogin
or
# ps -ef |grep - i telnet

when there are neither rlogin nor telnet sessions then you will not see anything.

If you rlogin in hpport system from eureka then you launch

# ps -ef |grep -i rlogin

and you will see that rlogind is launched. The same for telnetd by a telnet session.

Then I say again: if Eureka asks password when hpport rlogins then Eureka (for some reasons like DNS resolution problem of hpport system or bad .rhosts configuration) refuses rlogin operation of hpport system.

If you said that .rhosts is good on Eureka then I think about a DNS resolution problem.

Does Eureka use DNS or /etc/hosts file?

Let me know.

Best regards,
Fabio
WISH? IMPROVEMENT!
RAC_1
Honored Contributor

Re: rlogin asking for password

You checked all posiible optins
/etc/inetd.conf
perms on .rhosts file.

Now from True64 telnet to hp-ux. (use loings and pass you have--this is the one you are using for rlogin"

do
who -um

The host name/ip_address appearing in the last column , note it. Is it there in /etc/hosts file on hp-ux??? Is that what you have put in .rhosts file on hp-ux????

Post.

Anil
There is no substitute to HARDWORK
Tony Tibbenham
Advisor

Re: rlogin asking for password

who -um worked for me (between HP9000 A500 and L2000 servers).

It showed the telnet running via our 100Mbit interface rather than the gigabit link so needed a different IP address in .rhosts.



alak_datta
New Member

Re: rlogin asking for password

hello Everybody,

I have a similar problem. I can rlogin with out passwd from (to) MACHINE A to (from) MACHINE B. I can do same from MACHINE B to MACHINE C both ways.

I can also rlogin without a passwd from MACHINE A to MACHINE C. But I can not do the same from MACHINE C to MACHINE A.

All are different linux machines. username is same in all the machines. .rhosts includes IP address and hostnames in all the machines. .rhosts have 600 permissions.

Will appreciate anybody's help

Alak
taylan kurtkaya
Advisor

Re: rlogin asking for password

hello everybody

that's late to answer this but i tried the same problem finally i solved it. i recommend you to look at the /etc/securetty file.and put there a ptys line for root access.

taylan