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...") |
|||
Line 1: | Line 1: | ||
+ | =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 |
Revision as of 00:49, 28 January 2014
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