Difference between revisions of "CentOS"
From Hack Sphere Labs Wiki
(Created page with "*http://wiki.centos.org/TipsAndTricks/BecomingRoot *https://www.centos.org/docs/4/html/rhel-sag-en-4/ch-basic-firewall.html *https://www.centos.org/docs/5/html/Deployment_Guid...") |
(→Reboot) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | =Basic Firewall Management= | ||
+ | yum install system-config-firewall-tui | ||
+ | |||
+ | =Reboot= | ||
+ | reboot | ||
+ | |||
+ | =Adduser= | ||
+ | useradd <username> | ||
+ | passwd <username> | ||
+ | |||
+ | =Proper Hostname= | ||
+ | http://www.jonasblog.com/setting-the-hostname-on-linux | ||
+ | |||
+ | =SSH Config= | ||
+ | nano /etc/ssh/sshd_config | ||
+ | permit root login no | ||
+ | change port | ||
+ | system-config-firewall-tui | ||
+ | *customize | ||
+ | *https://fedoraproject.org/wiki/How_to_edit_iptables_rules | ||
+ | |||
+ | |||
+ | =Old Notes= | ||
*http://wiki.centos.org/TipsAndTricks/BecomingRoot | *http://wiki.centos.org/TipsAndTricks/BecomingRoot | ||
*https://www.centos.org/docs/4/html/rhel-sag-en-4/ch-basic-firewall.html | *https://www.centos.org/docs/4/html/rhel-sag-en-4/ch-basic-firewall.html |
Latest revision as of 14:26, 18 February 2014
Basic Firewall Management
yum install system-config-firewall-tui
Reboot
reboot
Adduser
useradd <username> passwd <username>
Proper Hostname
http://www.jonasblog.com/setting-the-hostname-on-linux
SSH Config
nano /etc/ssh/sshd_config permit root login no change port system-config-firewall-tui
Old Notes
- http://wiki.centos.org/TipsAndTricks/BecomingRoot
- https://www.centos.org/docs/4/html/rhel-sag-en-4/ch-basic-firewall.html
- https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-fw.html
- http://people.csail.mit.edu/wentzlaf/faq/ssh_X.html
- https://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-basic-firewall-securitylevel.html
- Add Secondary IP Address http://gregsowell.com/?p=578