This is a collection of miscellaneous sysadmin scripts.
Public Domain
Name | Description |
---|---|
cert-gen.sh | x509 (https) certificate creation w/ OpenSSL. |
compress.sh | Recursive file compression script. |
genpasswds.sh | Script to generate passwords for a list of systems. This script is meant to be used with vab/passgen. |
hesadd.sh | Script to add Linux users with modified hesiod data. |
log-clean.sh | Script to remove old logs. |
log-compress.sh | Monthly log compression script. |
mongo-backup.sh | Script to export all mongodbs to bson for backup. |
mysql-backup.sh | Backup mysql or mariadb database server. |
mysql-restore.sh | Restore a mysql or mariadb database from a backup. |
postgres-backup.sh | Backup postgres database server. |
postgres-restore.sh | Restore a postgres database from a backup. |
sftp-download.sh | Script to download db export from remote machine with sftp using ssh keypair authentication. |
sshcachetunnel.sh | Script to set up an SSH tunnel to a squid proxy. |
ubuntu-security-updates.sh | Install security updates on ubuntu based systems. |
yum-security-updates.sh | Install security updates with yum and log package updates to a file. |