Saturday, July 24, 2010

To disable telnet/rexec services on Aix servers

1. Take a backup of /etc/inetd.conf(before editing the file better to to a backup)
cp -p /etc/inetd.conf /etc/inetd.conf_backup

2. Edit /etc/inetd.conf file and comment out telnet,rexec, services
vi /etc/inetd.conf
comment out (enter # ) the telnet, rexec services

3. Restart the inetd service
refresh -s inetd

No comments:

Post a Comment