Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
RHEL4 - rsh: permission denied

RHEL4 - rsh: permission denied

2006-05-03       - By Rick Stevens

 Back
Reply:     1     2     3  

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