other:binarylocations

Configure OS specific binary locations.

juggernaut --task=other:binarylocations
Option
Value Default Description
--IPTABLES <string> /sbin/iptables The location for the binary iptables.
--IPTABLES_SAVE <string> /sbin/iptables-save The location for the binary iptables_save.
--IPTABLES_RESTORE <string> /sbin/iptables-restore The location for the binary iptables_restore.
--IP6TABLES <string> /sbin/ip6tables The location for the binary ip6tables.
--IP6TABLES_SAVE <string> /sbin/ip6tables-save The location for the binary ip6tables_save.
--IP6TABLES_RESTORE <string> /sbin/ip6tables-restore The location for the binary ip6tables_restore.
--MODPROBE <string> /sbin/modprobe The location for the binary modprobe.
--IFCONFIG <string> /sbin/ifconfig The location for the binary ifconfig.
--SENDMAIL <string> /usr/sbin/sendmail The location for the binary sendmail.
--PS <string> /bin/ps The location for the binary ps.
--VMSTAT <string> /usr/bin/vmstat The location for the binary vmstat.
--LS <string> /bin/ls The location for the binary ls.
--MD5SUM <string> /usr/bin/md5sum The location for the binary md5sum.
--TAR <string> /bin/tar The location for the binary tar.
--CHATTR <string> /usr/bin/chattr The location for the binary chattr.
--UNZIP <string> /usr/bin/unzip The location for the binary unzip.
--GUNZIP <string> /bin/gunzip The location for the binary gunzip.
--DD <string> /bin/dd The location for the binary dd.
--TAIL <string> /usr/bin/tail The location for the binary tail.
--GREP <string> /bin/grep The location for the binary grep.
--ZGREP <string> /usr/bin/zgrep
--IPSET <string> /usr/sbin/ipset The location for the binary ipset.
--SYSTEMCTL <string> /usr/bin/systemctl The location for the binary systemctl.
--HOST <string> /usr/bin/host The location for the binary host.
--IP <string> /usr/sbin/ip
--CURL <string> /usr/bin/curl The location for the binary curl.
--WGET <string> /usr/bin/wget The location for the binary wget.
--default <yes> Reset all settings to their default values.
--default_option <option> Reset a specific setting to its default value.
--restart <yes> Restart the service after saving settings.

Examples

// set the IFCONFIG location
juggernaut --task=other:binarylocations --IFCONFIG='/sbin/ifconfig' --restart=yes

// reset IFCONFIG to default
juggernaut --task=other:binarylocations --default_option=IFCONFIG --restart=yes

// reset all settings back to default
juggernaut --task=other:binarylocations --default=yes --restart=yes