Difference between revisions of "CentOS"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(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