commands stopped working overnight
Greetings all,
I was in the process of creating a router and secure firewall from my RH-9 box, when "iptables" and "chkconfig" commands quit working. I had gone to bed the night before and my iptables command was working, but when I got home today the commands no longer worked! I didn't change any settings at all.
this is what I see......
[xxx@localhost xxx]# iptables -L
bash: iptables: command not found
and.....
[root@localhost sysconfig]# ./iptables -L
bash: ./iptables: Permission denied
and......
[root@localhost sysconfig]# chmod 777 /etc/sysconfig/iptables
[root@localhost sysconfig]# ./iptables -L
./iptables: line 5: *filter: command not found
./iptables: line 6: :INPUT: command not found
./iptables: line 7: :FORWARD: command not found
./iptables: line 8: :OUTPUT: command not found
./iptables: line 9: :RH-Lokkit-0-50-INPUT: command not found
./iptables: line 10: -A: command not found
./iptables: line 11: -A: command not found
./iptables: line 12: -A: command not found
./iptables: line 13: -A: command not found
./iptables: line 14: -A: command not found
./iptables: line 15: -A: command not found
./iptables: line 16: -A: command not found
./iptables: line 17: COMMIT: command not found
These weren't my rules and I don't know what they are or how they got there. About 4 hours ago I wiped my hard disk clean and re-installed RH9. I'm still getting the same problems. Does anyone know what is going on? When I first started setting my firewall, I wasn't getting these problems. Any help or comments would be greatly appreciated!
Thank You!
-Slyant
|