web-dev-qa-db-fra.com

Comment désactiver SusefireWall2?

Comment puis-je désactiver SusefireWall2 de la coquille (sans yast)?

Nous utilisons openseuse 12.3

Je l'ai essayé:

workdevel123:~ # systemctl disable SuSEfirewall2.service

Mais je pense que ce n'est pas la solution:

workdevel123:~ # systemctl is-enabled SuSEfirewall2.service
Failed to issue method call: No such file or directory
8
guettli

Au moins dans OpenSUse 12.1, le pare-feu est toujours séparé en deux composantes de /etc/init.d:

# systemctl disable SuSEfirewall2_setup.service
SuSEfirewall2_setup.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig SuSEfirewall2_setup off
# systemctl disable SuSEfirewall2_init.service
SuSEfirewall2_init.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig SuSEfirewall2_init off

En utilisant SystemCTL plutôt que juste chkconfig --set SuSEfirewall2_setup off devrait "plus de preuve future", cependant.

La commande est importante. _Setup dépend de _Init.

4
JonnyJD