This file contains hidden or 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
# | |
# /etc/pam.d/common-account - authorization settings common to all services | |
# | |
# This file is included from other service-specific PAM config files, | |
# and should contain a list of the authorization modules that define | |
# the central access policy for use on the system. The default is to | |
# only deny service to users whose accounts are expired in /etc/shadow. | |
# | |
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default. | |
# To take advantage of this, it is recommended that you configure any |
This file contains hidden or 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
# | |
# /etc/pam.d/common-session - session-related modules common to all services | |
# | |
# This file is included from other service-specific PAM config files, | |
# and should contain a list of modules that define tasks to be performed | |
# at the start and end of sessions of *any* kind (both interactive and | |
# non-interactive). | |
# | |
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default. | |
# To take advantage of this, it is recommended that you configure any |
This file contains hidden or 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
# | |
# /etc/pam.d/common-password - password-related modules common to all services | |
# | |
# This file is included from other service-specific PAM config files, | |
# and should contain a list of modules that define the services to be | |
# used to change user passwords. The default is pam_unix. | |
# Explanation of pam_unix options: | |
# | |
# The "sha512" option enables salted SHA512 passwords. Without this option, |
This file contains hidden or 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
# | |
# /etc/pam.d/common-session-noninteractive - session-related modules | |
# common to all non-interactive services | |
# | |
# This file is included from other service-specific PAM config files, | |
# and should contain a list of modules that define tasks to be performed | |
# at the start and end of all non-interactive sessions. | |
# | |
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default. | |
# To take advantage of this, it is recommended that you configure any |
This file contains hidden or 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
# PAM configuration for the Secure Shell service | |
# Standard Un*x authentication. | |
@include common-auth | |
# Disallow non-root logins when /etc/nologin exists. | |
account required pam_nologin.so | |
# Uncomment and edit /etc/security/access.conf if you need to set complex | |
# access limits that are hard to express in sshd_config. |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
device=${1:-/dev/xvdf} | |
apt-get install -y xfsprogs | |
mkfs -t xfs $device | |
mkdir /vol | |
echo "$device /vol xfs defaults,noatime 0 0" >> /etc/fstab | |
mount -a |
This file contains hidden or 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
Kaguya was once a princess of the Lunarians, a race of people living on the Moon. She was exiled to Earth over a thousand years ago for the crime of using the forbidden Hourai Elixir to make herself immortal. Arriving on Earth one day, she was found by a bamboo cutter and dwelt among the humans she had once despised. Though the Lunarians looked upon humans with contempt, Kaguya came to love her new home. Tales of her unearthly beauty led men from all across the land to seek her hand in marriage, Fujiwara no Mokou's father being one of them, but none could successfully complete her trial of the Five Impossible Requests. | |
The first was to bring her the stone begging bowl of the Buddha from India. The second was to retrieve a jewelled branch from the island of Mount Hourai. The third was to seek the legendary robe of the fire-rat of China. The fourth was to retrieve a colored jewel from a dragon's neck. The final task was to find the legendary Cowry treasure of the swallows. These potent treasures were eventually |
This file contains hidden or 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
#!/bin/bash | |
set -e | |
apt-get update | |
# Install iptables-persistent | |
apt-get install -y iptables-persistent | |
# Enable UFW forwarding and open TCP port 2375 | |
ufw enable | |
sed -i 's/\(DEFAULT_FORWARD_POLICY\)="DROP"/\1="ACCEPT"/g' /etc/default/ufw |
This file contains hidden or 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
@import url('https://fonts.googleapis.com/css?family=Open+Sans'); | |
body, table, form, input, td, th, p, textarea, select { | |
font-family: "Open Sans", Verdana, Helvetica !important; | |
} |
This file contains hidden or 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
#!/bin/sh | |
[ -e /usr/lib/apt/methods/https ] || { | |
apt-get update | |
apt-get install apt-transport-https | |
} | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
curl -sSL https://get.docker.com/ubuntu/ | sh |