Linux notes – /etc/inittab

/etc/inittab
# Default runlevel. The runlevels used by RHS are:
#   0 – halt (Do NOT set initdefault to this)
#   1 – Single user mode
#   2 – Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 – Full multiuser mode
#   4 – unused
#   5 – X11
#   6 – reboot (Do NOT set initdefault to this)
#
id:5:initdefault:

—–

This may be freely redistributed under the terms of the GNU Public License.

usage:   chkconfig –list [name]
         chkconfig –add <name>
         chkconfig –del <name>
         chkconfig [–level <levels>] <name> <on|off|reset>)

chkconfig –list
kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off

—–

 /etc/ssh/sshd_config
#Port 22
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.