Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

remsh from HP-UX to Tru64 as root without password

Leiteritz, Thomas
Occasional Visitor

remsh from HP-UX to Tru64 as root without password

Hello,
i can't connect from a HP-UX-machine to a Tru64-machine as root. I want copy some files using a sh-script for different users.
I can't use ssh, because i believe that we get some trouble between HP-UX and Tru64.

I checked /.rhosts on the Tru64-machine (permission 600), /etc/hosts.equiv also (755).

rsh from Tru64 to HP-UX as root is possible.
remsh from HP-UX to Tru64 needs a password !!

What can i do

best regards
Thomas
5 REPLIES
Steven Schweda
Honored Contributor

Re: remsh from HP-UX to Tru64 as root without password

> i can't connect [...]

Not a useful problem description. It does
not say what you did. It does not say what
happened when you did it.

> I can't use ssh, [...]

See above.

> [...] i believe that we get some trouble
> [...]

See above.

> I want copy some files using a sh-script
> for different users.

I don't know what that means. Different
users will use the script? Different users
own the files to be copied? What?

> I checked [...]

My psychic powers are too weak to tell me
what you saw, so I don't know what's in these
files.

> What can i do

You might start by showing actual commands
with their actual output, instead of telling
us what you believe about things which only
you can see.

I'd consider trying to get SSH to work.

My Tru64 system is out of reach for about a
week, so I can't demonstrate that these
things are possible, but I believe that I can
do rsh/rcp and ssh/scp between my HP-UX and
Tru64 systems (in either direction).

Have you looked for clues in the system log
files?
Leiteritz, Thomas
Occasional Visitor

Re: remsh from HP-UX to Tru64 as root without password

hello Steven,

the problem is written in the headline.
You are right, the other text is not necessary.

Here my problem:
alpha7 works with tru64,
HPX1 works with HP-UX.

HPX1_root> remsh alpha7
Passwd:
---- I don't want the question for a password!

alpha7_root> rsh hpx1
## Welcome to hpx1 ###
..
HPX1_root>
--- That's ok!

only this is my problem.
and excuse me, i believed you have strong psychic powers .

Thomas
Steven Schweda
Honored Contributor

Re: remsh from HP-UX to Tru64 as root without password

> You are right, the other text is not
> necessary.

Or more was.

> Have you looked for clues in the system log
> files?

Still wondering.

> [...] /.rhosts [...]

I still can't see it. Some systems need
fully qualified host names, and some don't.

Have you added "ptys" to "/etc/securettys"
("/cluster/members/{memb}/etc/securettys")?
Leiteritz, Thomas
Occasional Visitor

Re: remsh from HP-UX to Tru64 as root without password

I have looked in auth.log in the tru64-machine. After insert a password i can find a clue :
Feb 12 08:46:07 alpha7 login: ROOT login on /dev/pts/13 .

in the /.rlogin i have written the normal name of the hpx-machine
...
hpx1
...

I tried also
...
hpx1.zks....de
...

In the securettys:
ptys
...

I had never the problem between two alpha's.
Is there a new file or a new flag in hp-ux i must change ??

Thomas

Leiteritz, Thomas
Occasional Visitor

Re: remsh from HP-UX to Tru64 as root without password

Eureka, Halleluja,

it was the full name in the /.rhosts ...

whatever i tried yesterday, new day , new luck.

with fully qualified host names the hp-ux-machine get the connect without password.

Thank you and sorry if i made work.

Thomas