Discussion Locked

AIX & security

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We have a RS6000 server sitting across a WAN and require access to it via a firewall. We use ftp & telnet but rsh is "forbidden" for security reasons.

Has anyone done rsh via a Cisco PIX firewall ? It is urgent as we need to download entire systems from time to time for support purposes. The application specialists sit in a central location and need to upload / download the systems for support.

1 reply

by stillatit

I presume you want rsh so you can do rcp. You have two separate problems. If you have forbidden rsh, you have probably turned off rshd in /etc/inetd.conf. This will have to be turned on. If you are careful with the /etc/hosts.equiv and .rhosts filesthis can be done with relative safety (but if you are in a security environment, forget it).

To cross the firewall you need to permit traffic on port 514/tcp. To verify this on your system, do the following:

grep rsh /etc/inetd.conf to see the line which activates rshd. Note the first parameter is the port name, "shell" in my case.

grep shell /etc/services shows you the port number which shell uses.

You will want to permit the traffic ONLY to and from the specific IP addressesof the boxes your specialists use, and explicitly block that port to everyone in the next rule.

Have you looked at the snap command? It gathers most if not all of the system info into one tar file, which you can then grab with ftp. (man snap for a description)

Good luck.

This discussion is closed to new replies.