You need to use ' su - '. Reason su is switches to root but still using the users enviroment variables. Since /sbin is not part of a users path the command you type is not found. If you type ' /sbin/iptables -L ' as su then it would work. So going ' su - ' it will be root with root's enviroment variables and then you can use the command without /sbin since /sbin is part of roots path.
Last edited by Brian1; 09-23-2006 at 03:43 PM.