An example of the fail2ban-client command would be:
fail2ban-client status filter-name
where filter name is the name of a file in /etc/fail2ban/filter.d/
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
An example of the fail2ban-client command would be:
fail2ban-client status filter-name
where filter name is the name of a file in /etc/fail2ban/filter.d/
Below is a couple of additions I've made in the past to the build.xml files:
To unload the service and stop:
launchctl unload -w /Library/LaunchDaemons/com.mysql.mysql.plist
To load the service and start:
launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
[source]
To reset and start fresh, do;
I found an issue while using slackpkg where the following error presented itself:
ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of date
or has been tampered with. If you use mirrors.slackware.com
as your mirror, this could also mean that the mirror to
which you got redirected is not yet updated with the most
recent changes in the Slackware tree.
Normally wget works as expected but every now and then, you page is forbidden or similar, so the below is an alternative approach;
The below example involves importing a Zscaler root CA certificate into the java keystore on my Slackware installation.
sudo keytool -import -trustcacerts -alias zscaler -file /etc/ssl/certs/Zscaler-Dalzell.crt -keystore /opt/jdk1.8.0_341/jre/lib/security/cacerts
Note: The destination, in this case '/opt/jdk1.8.0_341/jre/lib/security/cacerts' could quite equally point to a local installation, such as '/home/some_user//some_application/jre/lib/security/cacerts'
who -b or uptime -s
To find the last shutdown time, we can do:
last -x | grep shutdown or last -x | grep reboot (output varies between distributions)