Skip to content

Instantly share code, notes, and snippets.

Nuukem

Block or report user

Report or block Nuukem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Nuukem
Nuukem / README.md
Last active Nov 26, 2019
Send Pushover notification when user connects via SSH
View README.md

Send Pushover notification when user connects via SSH

Guide pulled from here

Be sure to connect via SSH to a second session in case there's a problem

Create the script file.

sudo nano /etc/ssh/login-notify.sh
@Nuukem
Nuukem / clone-user.sh
Last active Nov 25, 2019
Clone Linux User (copy user, based on another one)
View clone-user.sh
#!/bin/bash
# clone a user
#
# original script obtained from https://unix.stackexchange.com/a/294885/346736
# updated olduser_GROUPS line to properly match whole string instead of partial match.
#
# usage:
# if you named this as below then
# change to the directory and run this command
@Nuukem
Nuukem / README.md
Last active Nov 25, 2019
Configure Postfix to Send Mail Using Gmail
View README.md

Configure Postfix to Send Mail Using Gmail

Postfix is a Mail Transfer Agent (MTA) that can act as an SMTP server or client to send or receive email. There are many reasons why you would want to configure Postfix to send email using Google Apps and Gmail. One reason is to avoid getting your mail flagged as spam if your current server’s IP has been added to a blacklist.

In this guide, you will learn how to install and configure a Postfix server on Debian or Ubuntu to send email through Gmail and Google Apps.

Link to guide --> Configure Postfix to Send Mail Using Gmail

You can’t perform that action at this time.