Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
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
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
solved:enable RSH on RHEL 3.0

solved:enable RSH on RHEL 3.0

2005-04-22       - By a s p a s i a

 Back

thanks, this is how i was able to make it work:

1.  Prepare Linux host to provide rsh Capability:

a.  check that rsh daemon is installed:

chkconfig --list | grep rsh
or
rpm -qa | grep rsh-server

If does not exist, need to install the rsh-server RPM package:
rsh-server-0.17-17.i386.rpm.

i.  download rpm into /tmp directory of the Linux host
ii. rpm -Uvh rsh-server-0.17-17.i386.rpm


2.  Edit the following configuration files:

/etc/xinetd.d/rexec with  DISABLE = NO
/etc/xinetd.d/rsh with DISABLE = NO
/etc/xinetd.d/rlogin with DISABLE = NO


3.  Append the following per line in the /etc/securetty file:

rsh
rexec
rlogin

4.  Edit the following PAM-related files to allow remote logins from other
systems:

i. Edit the file /etc/pam.d/login and comment out the following
line by inserting a pound sign (#) in front of it, as follows:

# auth   required   /lib/security/pam_securetty.so

ii. Edit the file /etc/pam.d/rsh and change the following line:

auth   required   /lib/security/pam_rhosts_auth.so
to
auth   sufficient   /lib/security/pam_rhosts_auth.so

Comment out the following line by inserting a pound sign (#) in front of
it, as follows:

# auth   required   /lib/security/pam_securetty.so

5.  Restart the xinitd service:

# /etc/rc.d/init.d/xinetd restart


> There might be more, but something like as follows:
> up2date rsh-server
> chckconfig rsh on
> setup ip table
> echo "rsh" >> /etc/securetty
> echo "hostname to allow root access with rsh if any" >> /root/.rhosts
>
> yasushi
>


a s p a s i a
. . . . . . .

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.