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
/* cc -DTEST -Wall -o pamtest pam.c -lpam */ | |
#include <security/pam_appl.h> | |
#include <sys/resource.h> | |
#include <string.h> | |
#include <stdlib.h> | |
struct creds { | |
char *user; | |
char *password; |
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
// Written Alan Ward -- copied from larger program, not fully tested | |
// Placed into the public domain | |
char worker_endpoint [128], worker_endpoints [1024]; | |
int process_instance; | |
worker_endpoints [0] = 0; | |
// start async worker processes | |
for ( process_instance = 0; process_instance < CFG_Backend_Threads; process_instance++ ) { |
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
INTRO | |
I get asked regularly for good resources on AWS security. This gist collects some of these resources (docs, blogs, talks, open source tools, etc.). Feel free to suggest and contribute. | |
Short Link: http://tiny.cc/awssecurity | |
Official AWS Security Resources | |
* Security Blog - http://blogs.aws.amazon.com/security/ | |
* Security Advisories - http://aws.amazon.com/security/security-bulletins/ | |
* Security Whitepaper (AWS Security Processes/Practices) - http://media.amazonwebservices.com/pdf/AWS_Security_Whitepaper.pdf | |
* Security Best Practices Whitepaper - http://media.amazonwebservices.com/AWS_Security_Best_Practices.pdf |