Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Trying to rsh from Win2000 to Tru64 V5.1A  -  Why doesn't this work ??????
@ 2004-02-13 14:11 James Blackmore
  2004-02-13 17:08 ` Peter da Silva
  0 siblings, 1 reply; 6+ messages in thread
From: James Blackmore @ 2004-02-13 14:11 UTC (permalink / raw)


I am trying to rsh from a Win2000 machine to Tru64 unix host. I am
familiar with rsh between unix hosts, but seem unable to get this to
work and cannot understand why. rexec works fine (after prompting for
Tru64 passwd), but rsh refuses to work despite combinations of
Winuser, Tru64user, hostname, IP address etc.

Output showing this is below (I have search/replaced the true
names/addresses for this example but these are all captured output
otherwise).

I cannot create a Tru64 user account Administrator (>8 char limit),
but hoped that using -l option should avoid this being a problem.

Can anyone suggest what I am doing wrong, and how to get this rsh to
work from Win2000/NT to Tru64 V5.1A/B as this seems ridiculous.


C:\users\default>ipconfig /all

Windows 2000 IP Configuration
[snipped]
        Host Name . . . . . . . . . . . . : winhost
[snipped]        
C:\users\default>rexec tru64host -l tru64usr ls
Password (tru64host:):
[Works fine]

C:\users\default>rsh tru64host -l tru64usr ls
tru64host: Permission denied.
rsh: can't establish connection

C:\users\default>rexec tru64host ls
Name (tru64host:Administrator):
Password (tru64host:Administrator):

C:\users\default>rsh tru64host ls
tru64host: Permission denied.
rsh: can't establish connection

C:\users\default>rsh 192.68.1.10 ls
192.68.1.10: Permission denied.
rsh: can't establish connection

C:\users\default>rsh 192.68.1.10 -l tru64usr ls
192.68.1.10: Permission denied.
rsh: can't establish connection

C:\users\default>rexec 192.68.1.10 ls
Name (192.68.1.10:Administrator):
Password (192.68.1.10:Administrator):

C:\users\default>rexec 192.68.1.10 -l tru64usr ls
Password (192.68.1.10:):
[Works fine]



tru64host /.rhosts file has following entries (desperation shows)
winhost winhost
winhost tru64usr
winhost winhost\tru64usr
winhost winhost\tru64usr
winhost winhost\tru64usr
winhost winhost\tru64usr
winhost tru64usr
winhost administrator
winhost Administ
winhost Administrator
winhost Administrator
winhost winhost:administrator
winhost ADMINISTRATOR
winhost administ
winhost User
winhost USER


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trying to rsh from Win2000 to Tru64 V5.1A  -  Why doesn't this work ??????
  2004-02-13 14:11 Trying to rsh from Win2000 to Tru64 V5.1A - Why doesn't this work ?????? James Blackmore
@ 2004-02-13 17:08 ` Peter da Silva
  2004-02-14  2:51   ` Stuart Fuller
  2004-02-19 14:50   ` James Blackmore
  0 siblings, 2 replies; 6+ messages in thread
From: Peter da Silva @ 2004-02-13 17:08 UTC (permalink / raw)


In article <e0ac4809.0402130611.af8d046@posting.google.com>,
James Blackmore <jblackmore@post.com> wrote:
> Can anyone suggest what I am doing wrong, and how to get this rsh to
> work from Win2000/NT to Tru64 V5.1A/B as this seems ridiculous.
> 

Have you considered using ssh instead? That way the link's encrypted
and cryptographically authenticated using public keys.

The normal SSH command line packages should build on NT under either
Interix (Windows Services for UNIX 3.5, a free download from Microsoft)
or Cygwin. I would recommend Interix because of certain security problems
in the Cygwin design.

Have you considered using a local user other than Administrator? If you can
do the work with a non-privileged account hat would be safer (principle of
least privilege).

> C:\users\default>rexec tru64host -l tru64usr ls
> Password (tru64host:):
> [Works fine]

It's asking for your password, which means it's not letting you in via
rhosts and rsh won't work.

-- 
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate.  All
these things will be lost in time, like chalk-paintings in the rain.   `-_-'
Time for your nap.  | Peter da Silva | Har du kramat din varg, idag?    'U`


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trying to rsh from Win2000 to Tru64 V5.1A  -  Why doesn't this work ??????
  2004-02-13 17:08 ` Peter da Silva
@ 2004-02-14  2:51   ` Stuart Fuller
  2004-02-15 21:42     ` Peter da Silva
  2004-02-19 14:50   ` James Blackmore
  1 sibling, 1 reply; 6+ messages in thread
From: Stuart Fuller @ 2004-02-14  2:51 UTC (permalink / raw)


Peter da Silva wrote:

>> C:\users\default>rexec tru64host -l tru64usr ls
>> Password (tru64host:):
>> [Works fine]
> 
> It's asking for your password, which means it's not letting you in via
> rhosts and rsh won't work.
> 

Except, he's using REXEC, where it's appropriate and correct to solicit a 
password.

-- 

        Stu


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trying to rsh from Win2000 to Tru64 V5.1A  -  Why doesn't this work ??????
  2004-02-14  2:51   ` Stuart Fuller
@ 2004-02-15 21:42     ` Peter da Silva
  0 siblings, 0 replies; 6+ messages in thread
From: Peter da Silva @ 2004-02-15 21:42 UTC (permalink / raw)


In article <2f2k0c.081.ln@dadsys2.fuller.local>,
Stuart Fuller  <stufuller@usa.net> wrote:
> Peter da Silva wrote:
> >> C:\users\default>rexec tru64host -l tru64usr ls
> >> Password (tru64host:):
> >> [Works fine]

> > It's asking for your password, which means it's not letting you in via
> > rhosts and rsh won't work.

> Except, he's using REXEC, where it's appropriate and correct to solicit a 
> password.

If the rhosts file is correct and working, then rexec shouldn't ask for a
password. If it asks for a password, then host-based authentication didn't
work, and rsh won't work.

-- 
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate.  All
these things will be lost in time, like chalk-paintings in the rain.   `-_-'
Time for your nap.  | Peter da Silva | Har du kramat din varg, idag?    'U`


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trying to rsh from Win2000 to Tru64 V5.1A  -  Why doesn't this work ??????
  2004-02-13 17:08 ` Peter da Silva
  2004-02-14  2:51   ` Stuart Fuller
@ 2004-02-19 14:50   ` James Blackmore
  2004-02-19 17:01     ` Peter da Silva
  1 sibling, 1 reply; 6+ messages in thread
From: James Blackmore @ 2004-02-19 14:50 UTC (permalink / raw)


peter@abbnm.com (Peter da Silva) wrote in message news:<c0j0a1$afj$1@jeeves.eng.abbnm.com>...
> Have you considered using ssh instead? That way the link's encrypted
> and cryptographically authenticated using public keys.

This is all within a secure network so security is not a concern.

> Have you considered using a local user other than Administrator? If you can
> do the work with a non-privileged account hat would be safer (principle of
> least privilege).

Again, if I can get this to work I can sort these details out, but if
I can't get rsh to work, its academic.

> It's asking for your password, which means it's not letting you in via
> rhosts and rsh won't work.

I included this to show that there is not a hostname or connectivity
issue, this is purely an rhosts problem, so if anyone can suggest how
to overcome this I would be very grateful. I have shown by output that
rsh doesn't work, I hope someone can explain why and what I can do to
get this to work.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Trying to rsh from Win2000 to Tru64 V5.1A  -  Why doesn't this work ??????
  2004-02-19 14:50   ` James Blackmore
@ 2004-02-19 17:01     ` Peter da Silva
  0 siblings, 0 replies; 6+ messages in thread
From: Peter da Silva @ 2004-02-19 17:01 UTC (permalink / raw)


In article <e0ac4809.0402190650.7e3fd667@posting.google.com>,
James Blackmore <jblackmore@post.com> wrote:
> peter@abbnm.com (Peter da Silva) wrote in message
> news:<c0j0a1$afj$1@jeeves.eng.abbnm.com>...
> > Have you considered using ssh instead? That way the link's encrypted
> > and cryptographically authenticated using public keys.

> This is all within a secure network so security is not a concern.

It's also more likely to work than rsh, because it doesn't depend on
somewhat naive assumptions about hosts and user names.

> > Have you considered using a local user other than Administrator? If you can
> > do the work with a non-privileged account hat would be safer (principle of
> > least privilege).

> Again, if I can get this to work I can sort these details out, but if
> I can't get rsh to work, its academic.

Using a shorter user name may also help get rs to work.

> to overcome this I would be very grateful. I have shown by output that
> rsh doesn't work, I hope someone can explain why and what I can do to
> get this to work.

It may be "Administrator is more than 8 characters".

In which case using ssh (which doesn't use the local user name) or a
different user name (shorter than 8 characters) may do the trick.

Also, try running tcpdump on the tru64 side to see what's actually being
sent by the NT RSH client. If your network interface is tu0 (for example,
get it from "ifconfig -a" if you don't know), then:

pfconfig +p +c tu0
tcpdump host NTHOSTNAME

-- 
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate.  All
these things will be lost in time, like chalk-paintings in the rain.   `-_-'
Time for your nap.  | Peter da Silva | Har du kramat din varg, idag?    'U`


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-19 17:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-13 14:11 Trying to rsh from Win2000 to Tru64 V5.1A - Why doesn't this work ?????? James Blackmore
2004-02-13 17:08 ` Peter da Silva
2004-02-14  2:51   ` Stuart Fuller
2004-02-15 21:42     ` Peter da Silva
2004-02-19 14:50   ` James Blackmore
2004-02-19 17:01     ` Peter da Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox