Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trouble with rexec command

49 views
Skip to first unread message

Eric S. Olson

unread,
May 12, 1998, 3:00:00 AM5/12/98
to

Hi,

I seem to be having trouble using the rexec command from certain servers
in our network to one particular machine. I can rexec commands from at
least one of our remote servers to this machine, and I can rexec from
this machine to any of our remote servers, but when attempting to rexec
the date command from two of our remotes, I get the following:

rexecd: 0826-604 The login is not correct.

We are on AIX 4.2 and I have the appropriate .netrc files set up.

What gives?

Thanks in advance for any suggestions.

Eric S. Olson
PMG International, Ltd.

Garry Garrett

unread,
May 15, 1998, 3:00:00 AM5/15/98
to

In article <3558B1...@pmg-intl.com>, "Eric S. Olson" <eol...@pmg-intl.com> writes:
>Hi,
>
>I seem to be having trouble using the rexec command from certain servers
>in our network to one particular machine. I can rexec commands from at
>least one of our remote servers to this machine, and I can rexec from
>this machine to any of our remote servers, but when attempting to rexec
>the date command from two of our remotes, I get the following:
>
>rexecd: 0826-604 The login is not correct.
>
>We are on AIX 4.2 and I have the appropriate .netrc files set up.


.netrc is used for FTP. .rhosts is used by the "R commands" (rlogin,
rsh, rexec).

Telnet from the machine running to the machine that you want to run
the command on. Type "who am i". This will show you the output of
"who", but just for your login. The last column shows where you
are logged in from. This is what needs to be in your .rhosts for
machine names (if you see an IP address, ask yourself why, is it
not in /etc/hosts, or not in DNS. Or maybe your are seeing the DNS
name with the full domain instead of the shorter machine name).
Whatever you see as the machine name listed in "who am i" needs
to be the machine name that you use in .rhosts file.

>What gives?
>
>Thanks in advance for any suggestions.
>
>Eric S. Olson
>PMG International, Ltd.

--
-----------------------------------------------------------------------
Garry J. Garrett
CSG Systems, Inc. ._o
2525 North 117th Ave. |> For an e-mail address, see my web page.
Mailstop 2-A 4
Omaha, NE 68164-3679

http://www.csgsys.com/
http://monarch.papillion.ne.us/~ggarrett

0 new messages