sudo passwd -l root
sudo passwd
sudo adduser|deluser username
sudo passwd -l username lock
sudo passwd -u username unlock
sudo addgroup|delgroup groupname
sudo chmod 0750 /home/username
/etc/adduser.conf
/etc/pam.d/common-password
sudo chage -l username
sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 username
/etc/event.d/control-alt-delete
/boot/grub/menu.lst
grub-md5-crypt
sudo ufw enable|disable
sudo ufw allow|deny 22
sudo ufw allow proto tcp from 192.168.0.2 to any port 22
sudo ufw logging on|off
/etc/ufw/sysctl.conf
/etc/default/ufw
/etc/sysctl.conf
sudo sysctl -p
sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o ppp0 -j MASQUERADE
sudo iptables -A FORWARD -s 192.168.0.0/16 -o ppp0 -j ACCEPT
sudo iptables -A FORWARD -d 192.168.0.0/16 -m state --state ESTABLISHED,RELATED -i ppp0 -j ACCEPT
sudo iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j LOG --log-prefix "NEW_HTTP_CONN: "
/etc/syslog.conf
sudo apt-get install apparmor-profiles
sudo apparmor_status
sudo aa-complain | aa-enforce /etc/apparmor.d/*
cat /etc/apparmor.d/profile.name | sudo apparmor_parser -a
cat /etc/apparmor.d/profile.name | sudo apparmor_parser -r
sudo /etc/init.d/apparmor reload
sudo ln -s /etc/apparmor.d/profile.name /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/profile.name
sudo rm /etc/apparmor.d/disable/profile.name
cat /etc/apparmor.d/profile.name | sudo apparmor_parser -a
sudo /etc/init.d/apparmor stop|start
sudo update-rc.d -f apparmor remove|defaults
named-checkzone example.com /etc/bind/db.example.com
cat /etc/apparmor.d/usr.sbin.named | sudo apparmor_parser -r
/etc/apparmor.d/
sudo aa-genprof slapd
sudo aa-logprof
openssl genrsa -des3 -out server.key 1024
openssl rsa -in server.key -out server.key.insecure
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
sudo cp server.crt /etc/ssl/certs
sudo cp server.key /etc/ssl/private
sudo passwd
sudo adduser|deluser username
sudo passwd -l username lock
sudo passwd -u username unlock
sudo addgroup|delgroup groupname
sudo chmod 0750 /home/username
/etc/adduser.conf
/etc/pam.d/common-password
sudo chage -l username
sudo chage -E 01/31/2008 -m 5 -M 90 -I 30 -W 14 username
/etc/event.d/control-alt-delete
/boot/grub/menu.lst
grub-md5-crypt
sudo ufw enable|disable
sudo ufw allow|deny 22
sudo ufw allow proto tcp from 192.168.0.2 to any port 22
sudo ufw logging on|off
/etc/ufw/sysctl.conf
/etc/default/ufw
/etc/sysctl.conf
sudo sysctl -p
sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o ppp0 -j MASQUERADE
sudo iptables -A FORWARD -s 192.168.0.0/16 -o ppp0 -j ACCEPT
sudo iptables -A FORWARD -d 192.168.0.0/16 -m state --state ESTABLISHED,RELATED -i ppp0 -j ACCEPT
sudo iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j LOG --log-prefix "NEW_HTTP_CONN: "
/etc/syslog.conf
sudo apt-get install apparmor-profiles
sudo apparmor_status
sudo aa-complain | aa-enforce /etc/apparmor.d/*
cat /etc/apparmor.d/profile.name | sudo apparmor_parser -a
cat /etc/apparmor.d/profile.name | sudo apparmor_parser -r
sudo /etc/init.d/apparmor reload
sudo ln -s /etc/apparmor.d/profile.name /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/profile.name
sudo rm /etc/apparmor.d/disable/profile.name
cat /etc/apparmor.d/profile.name | sudo apparmor_parser -a
sudo /etc/init.d/apparmor stop|start
sudo update-rc.d -f apparmor remove|defaults
named-checkzone example.com /etc/bind/db.example.com
cat /etc/apparmor.d/usr.sbin.named | sudo apparmor_parser -r
/etc/apparmor.d/
sudo aa-genprof slapd
sudo aa-logprof
openssl genrsa -des3 -out server.key 1024
openssl rsa -in server.key -out server.key.insecure
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
sudo cp server.crt /etc/ssl/certs
sudo cp server.key /etc/ssl/private
Comments
Post a Comment