Quote:
Originally Posted by rmvg 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.