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
#!/usr/bin/env python2 | |
# GistID: 581f5a91899f5662a4a8 | |
# | |
# Move files post-processing script for NZBGet | |
# | |
# Copyright (C) 2013 Andrey Prygunkov <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or |
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 | |
#edit /etc/pam.d/system-auth | |
#change pam_unix (line 2 to below) | |
#auth [success=1 new_authtok_reqd=ok ignore=ignore default=bad] pam_unix.so try_first_pass likeauth nullok | |
#auth [default=ignore] pam_exec.so seteuid /usr/local/bin/getwebshot.sh | |
TMP_DIR=/tmp/cheese | |
HOSTNAME=localhost | |
[email protected] | |
[email protected] | |
SUBJECT="Do you know this person?" |