  | | | RHEL4 - rsh: permission denied | RHEL4 - rsh: permission denied 2006-05-03 - By Rick Stevens
Back On Wed, 2006-05-03 at 15:36 -0400, Thomas Walter wrote: > I'm trying to get rsh set between two machines (local is Solaris 9, > remote is RHEL4). I've done it before (I > have a "cookbook") but I'm missing something. Please help. I'm aware of > the security issues involved using "r" commands. > > What I've done on remote machine: > - in .rhosts I put FQ machine name and user name.
That's in the common user's home directory, right? E.g. "~fred/.rhosts" assuming the common user is "fred".
> - added "+ FQ machine name user" in /etc/hosts.equiv
That's "+ other-machine-name username", right?
> - in /etc/xinetd.d/rsh and rexec changed to "disable = no" > - added rsh to /etc/securetty > - restarted xinetd > - no error messages in/etc/log/messages when restarting xinetd.
Uh, when you say "restarted xinetd", did you "service xinetd restart" or simply pass it a SIGHUP? I don't always trust "service xinetd restart". I'd prefer "service xinetd stop;service xinetd start". I know it's pedantic, but I've seen xinetd hang using the restart option.
> What I've done on local machine: > - added remote FQ machine name and same user name to .rhosts
Again, in the common user's .rhosts file, right? > > On local machine the command "rsh machinename w" results in "permission > denied" > > On remote machine command "rsh localhost w" results in "permission denied.
Did you check /var/log/messages or /var/log/secure on the remote system to see what errors were spit out?
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- - Rick Stevens, Senior Systems Engineer rstevens@(protected) - - VitalStream, Inc. http://www.vitalstream.com - - - - "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent - - process. Prepare to vi." - -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |