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
| # Description: | |
| # If you see a PR for cfengine:lab then merge it from the source | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # Commands: | |
| # hubot: merge cfengine:lab | |
| # | |
| # Author: |
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
| binddn: uid=whitejs,ou=People,dc=websages,dc=com | |
| # bindpass: MzM5MWYwZTQ0MzhmNjRiZmJlOTljYWYw | |
| cacheage: 300 | |
| confpath: /home/whitejs/.shelldap.rc | |
| server: ldaps://freyr.websages.com:636 | |
| timeout: 10 |
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
| # Description: | |
| # see certain words, say Zoinks! | |
| # | |
| # Dependencies: | |
| # None | |
| # | |
| # Commands: | |
| # | |
| # Author: | |
| # heathseals |
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 perl | |
| use strict; | |
| use warnings; | |
| use Net::LDAP; | |
| my $prd_binddn="uid=$ENV{LOGNAME},ou=People,dc=eftdomain,dc=net"; | |
| my $prd_bindpw=$ENV{LDAP_PASSWORD}; | |
| my $lab_binddn="uid=$ENV{LOGNAME},ou=People,dc=lab,dc=eftdomain,dc=net"; | |
| my $lab_bindpw=$ENV{LDAP_PASSWORD}; |
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 perl | |
| use strict; | |
| use warnings; | |
| use Net::LDAP; | |
| my $prd_binddn="uid=$ENV{LOGNAME},ou=People,dc=eftdomain,dc=net"; | |
| my $prd_bindpw=$ENV{LDAP_PASSWORD}; | |
| my $lab_binddn="uid=$ENV{LOGNAME},ou=People,dc=lab,dc=eftdomain,dc=net"; | |
| my $lab_bindpw=$ENV{LDAP_PASSWORD}; |
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
| Create /etc/postfix/virtual and put | |
| /.*/ blackhole@localhost | |
| Add to /etc/postfix/main.cf | |
| virtual_alias_maps = regexp:/etc/postfix/virtual | |
| Add to /etc/aliases (and run newaliases) | |
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 | |
| screencreate(){ | |
| if [ -f ~/.screenrc.${UNIQUE} ]; then | |
| screen -S ${UNIQUE} -c ~/.screenrc.${UNIQUE} | |
| else | |
| screen | |
| fi | |
| exit 0; | |
| } |
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
| ############################################################################### | |
| ## Local Configuration: ## | |
| ## ## | |
| ## Applied aftrer default.cfg, so only overrides need be within. ## | |
| ## ## | |
| ############################################################################### | |
| [DEFAULT] | |
| pki_admin_password=administrator | |
| pki_backup_password=backup | |
| pki_client_database_password=database |
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
| whitejs@feynman:~$ cat .shelldap.rc | |
| server: ldaps://freyr.websages.com:636 | |
| binddn: uid=whitejs,ou=People,dc=websages,dc=com | |
| bindpass: I<3H34th'sM4M4! | |
| basedn: dc=websages,dc=com | |
| # tls: yes | |
| # tls_cacert: /etc/ssl/certs/cacert.pem | |
| # tls_cert: ~/.ssl/client.cert.pem | |
| # tls_key: ~/.ssl/private/client.key.pem |
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
| ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
| update_config=1 |