I want to turn on RSH for internal users.  I know the security issues
involved, but with the controls in xinetd and our firewall, we want to turn it
on anyway.

I thought I could just turn it on in /etc/xinetd.d/rsh, but that doesn't seem
to work.  That file reads:

service shell
{
        socket_type             = stream
        wait                    = no
        user                    = root
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        server                  = /usr/sbin/in.rshd
        disable                 = no
}

and after restarting xinet, I still can't do an rsh to the machine.  Once I
have it figured out, I plan on putting:
       only_from               = 192.168.0.0/24
in there for security, but it's not there now...

Anyway, when I try to rsh to localhost the system waits for about 45sec and
gives me:
localhost: Connection refused

If I try:
        telnet localhost 514 (is that the right port?)

I get an immediate error in /var/log/messages and an immediate connection
closed.  I would think that if xinetd were quashing the connection, I'd get a
log message from the rsh.

I have the rsh and rsh-server packages installed and I have restarted xinetd.
Is there something else I have to turn on to make rsh active?

Thanks!

-Michael

-- 
In light of the terrorist attack on the U.S.:
        They that give up essential liberty to obtain a little temporary
        safety deserve neither liberty nor safety.
                        -- Benjamin Franklin, 1759



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to