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
#!/bin/bash | |
#################################################### | |
# File name - imapsync-batch.sh | |
# Description - Batch IMAP to IMAP sync | |
# Creation - DEC 06 2010 - BN | |
# Modified - DEC 13 2010 - BN | |
# Requires - imapsync-accounts.txt | |
# Requires - Username/password to be the same on both sides | |
# - may change this if I ever need it to backup to different account. |
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
#!/bin/bash | |
# | |
# ############################################################################# | |
# Create new SSH user (Ubuntu) | |
# I use this script whenever I need to add a new SSH user to an Ubuntu machine. | |
# Usage: | |
# 1) Download the "raw" with - wget -O createNewSSHUser.sh https://gist.github.com/raw/4223476 | |
# 2) Make it executable with - chmod a+x createNewSSHUser.sh | |
# 3) Uncomment the last line and edit the user & pwd values | |
# 4) Execute it with : sudo ./createNewSSHUser.sh |