This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# WARNING: heavily refactored in 0.9.0 release. Please review and | |
# customize settings for your setup. | |
# | |
# Changes: in most of the cases you should not modify this | |
# file, but provide customizations in jail.local file, | |
# or separate .conf files under jail.d/ directory, e.g.: | |
# | |
# HOW TO ACTIVATE JAILS: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For more information about this file, see the man pages | |
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5). | |
driftfile /var/lib/ntp/drift | |
# Permit time synchronization with our time source, but do not | |
# permit the source to query or modify the service on this system. | |
restrict default nomodify notrap nopeer noquery | |
# Permit all access over the loopback interface. This could |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file controls the state of SELinux on the system. | |
# SELINUX= can take one of these three values: | |
# enforcing - SELinux security policy is enforced. | |
# permissive - SELinux prints warnings instead of enforcing. | |
# disabled - No SELinux policy is loaded. | |
SELINUX=disabled | |
# SELINUXTYPE= can take one of three two values: | |
# targeted - Targeted processes are protected, | |
# minimum - Modification of targeted policy. Only selected processes are protected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $OpenBSD: sshd_config,v 1.93 2014/01/10 05:59:19 djm Exp $ | |
# This is the sshd server system-wide configuration file. See | |
# sshd_config(5) for more information. | |
# This sshd was compiled with PATH=/usr/local/bin:/usr/bin | |
# The strategy used for options in the default sshd_config shipped with | |
# OpenSSH is to specify options with their default value where | |
# possible, but leave them commented. Uncommented options override the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Definition] | |
actionstart = | |
actionstop = | |
actioncheck = | |
actionban = ufw insert 1 deny from <ip> to any app OpenSSH | |
actionunban = ufw delete deny from <ip> to any app OpenSSH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[commands] | |
# What kind of update to use: | |
# default = yum upgrade | |
# security = yum --security upgrade | |
# security-severity:Critical = yum --sec-severity=Critical upgrade | |
# minimal = yum --bugfix update-minimal | |
# minimal-security = yum --security update-minimal | |
# minimal-security-severity:Critical = --sec-severity=Critical update-minimal | |
update_cmd = security |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Crontab | |
##### | |
# don't forget to ln -s wget to path | |
##### | |
# ENV | |
SHELL=/bin/bash | |
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |
MAILTO=root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set repo in folder | |
git remote add origin https://github.com/marvinmarvink/bash-acc.git | |
git remote add origin [email protected]:marvin-marvin/bash-keys.git | |
# modify, push to github | |
git add FILE or git add -A | |
git commit -m "bash bamm" | |
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Options for ntpdate | |
OPTIONS="-p 2" | |
# Set to 'yes' to sync hw clock after successful ntpdate | |
SYNC_HWCLOCK=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# please test against the LB endpoint and a node | |
#syntax: ./cipher_check.sh <s3-endpoint>:443 | |
#syntax: ./cipher_check.sh <node>:443 | |
### | |
#!/usr/bin/env bash | |
# OpenSSL requires the port number. |
OlderNewer