[KLUG Members] Samba, SWAT ; Not Working

Jon Smitley members@kalamazoolinux.org
08 Dec 2002 19:55:08 -0500


Yep.  But I didn't know about "su -". I assume it sets some sort of PATH
for all commands or queries.  But none the less, this is the output:

[root@Madness Jon]# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@Madness Jon]# /sbin/ipchains -L
bash: /sbin/ipchains: No such file or directory


On Sun, 2002-12-08 at 19:42, Bruce Smith wrote:

> You did a "su" instead of a "su -"  didn't you?   :-(
> Your root user doesn't have the system directories in it's path.
> 
> Go to root as "su -"  and/or run the commands with the full path names:
> 
>  /sbin/iptables -L
>  /sbin/ipchains -L

-- 
Jon Smitley <lunitix@earthlink.net>