I use Ubuntu’s Uncomplicated firewall because it is available on Ubuntu and it's very simple.
if ufw is not installed by default be sure to install it first.
#!/usr/bin/perl -w | |
use strict; | |
use Net::LDAP; | |
my $ldapserver = ''; | |
my $ldapuser = ''; | |
my $ldappasswd = ''; | |
my $ldapfilter = '(uid=*)'; | |
my @ldapattrs = ('cn', 'uid', 'description', 'displayname', 'l', 'mail', 'title', 'mobile', 'telephonenumber', 'facsimileTelephoneNumber', |
curl -sfG 'http://localhost:8080/v3/nodes' --data-urlencode 'query=["=", ["node", "active"], true]' | |
curl -sf 'http://localhost:8080/v3/facts' | |
curl -sf 'http://localhost:8080/v3/nodes' | |
curl -sfG 'http://localhost:8080/v3/nodes' --data-urlencode 'query=["=", ["fact", "kernel"], "Linux"]' | |
curl -sfG 'http://localhost:8080/v3/nodes' --data-urlencode 'query=["=", ["fa, "operatingsystem"], "windows"]' |
$ keytool -changealias -keystore MY_KEYSTORE_2.jks -alias XXX-XXX-XXX-XXX-XXX -destalias MY_ALIAS |