Remote Shell Question on QNX 4.22

I’m having a couple problems with rsh on QNX 4.22. I’m trying to remote
shell into a QNX machine from an IBM RS/6000 running AIX 4.3.3. I’ve
defined the hostname and user ids in the .rhosts file and the hosts.equiv
files on the QNX machine. However, I am always prompted for a password for
root, even though root is defined in the .rhosts file. Any ideas on what’s
going on? Non root users are able to rsh into the QNX box without any
problems.

Thanks,
Kevin

Kevin Hackney <Kevin.Hackney@amgreeting.com> wrote:

I’m having a couple problems with rsh on QNX 4.22. I’m trying to remote
shell into a QNX machine from an IBM RS/6000 running AIX 4.3.3. I’ve
defined the hostname and user ids in the .rhosts file and the hosts.equiv
files on the QNX machine. However, I am always prompted for a password for
root, even though root is defined in the .rhosts file. Any ideas on what’s
going on? Non root users are able to rsh into the QNX box without any
problems.

The root user is handled as a special case, and is only
checked against the /.rhosts file (not any of the ~/.rhosts files) nor the
/etc/hosts.equiv file. Make sure there is only one entry for root, and it’s
in the /.rhosts file (and no where else). Also ensure that the hostname you’ve
specified is the “offical” or fully qualified domain name, and not a nickname.

-Adam

I tried removing entries for root in all .rhosts files except for in
/.rhosts and I also tried using the fully qualified domain name in the
/.rhosts file but was still prompted for a password. Below is shown the
results of a search for all .rhosts files that contain “root” and the
contents of /.rhosts and /etc/hosts.equiv. As you can see, there is only
one file that contains an entry for root and in that file (/.rhosts), there
is only one entry for root. Any other ideas or am I missing something?

Thanks,
Kevin

reddqn02:/ grep root find / -name .rhosts
/.rhosts:red4drs root
reddqn02:/ cat /.rhosts
red4drs root
red3drs startsne
red3drs stopsne
red4drs startsne
red4drs stopsne
reddqn02:/ cat /etc/hosts.equiv
red3drs startsne
red3drs stopsne
red4drs startsne
red4drs stopsne
reddqn02:/

Operating System for Tech Supp wrote in message
<9o7pbq$fnv$2@nntp.qnx.com>…

Kevin Hackney <> Kevin.Hackney@amgreeting.com> > wrote:
I’m having a couple problems with rsh on QNX 4.22. I’m trying to remote
shell into a QNX machine from an IBM RS/6000 running AIX 4.3.3. I’ve
defined the hostname and user ids in the .rhosts file and the hosts.equiv
files on the QNX machine. However, I am always prompted for a password
for
root, even though root is defined in the .rhosts file. Any ideas on
what’s
going on? Non root users are able to rsh into the QNX box without any
problems.

The root user is handled as a special case, and is only
checked against the /.rhosts file (not any of the ~/.rhosts files) nor the
/etc/hosts.equiv file. Make sure there is only one entry for root, and
it’s
in the /.rhosts file (and no where else). Also ensure that the hostname
you’ve
specified is the “offical” or fully qualified domain name, and not a
nickname.

-Adam