Thread: Firewall rules
View Single Post
  #13 (permalink)  
Old 09-03-2007, 12:23 PM
phoenix phoenix is offline
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by rmvg View Post
is su -root any different that regular root besides i want ip tables to start as service when i reboot my machine.
Yes, it is the hyphen '-' that ensures the correct environment is set for that user. It's exactly the same if you do 'su zimbra' rather than 'su - zimbra' - you'll get errors.

Do an 'su - root' then try the command you did earlier:

Code:
service iptables status
without the /sbin/ prefix. That should run OK and you should be able to make the changes you want.
__________________
Regards


Bill

Last edited by phoenix; 09-03-2007 at 10:53 PM..
Reply With Quote