[root@F5:Active] config # chkconfig --list anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off auditd 0:off 1:off 2:on 3:on 4:on 5:on 6:off bigstart 0:off 1:off 2:on 3:on 4:on 5:on 6:off cluster 0:off 1:off 2:on 3:on 4:on 5:on 6:off crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off dhclient 0:off 1:off 2:on 3:on 4:on 5:on 6:off fw_update 0:off 1:off 2:off 3:on 4:off 5:off 6:off httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off httpd_sam 0:off 1:off 2:on 3:on 4:on 5:on 6:off ip6tables 0:off 1:off 2:on 3:on 4:on 5:on 6:off iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off irqbalance 0:off 1:off 2:on 3:on 4:on 5:on 6:off lm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:off lvm2-monitor 0:off 1:on 2:on 3:on 4:on 5:on 6:off mcstrans 0:off 1:off 2:on 3:on 4:on 5:on 6:off mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off mdmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off multipathd 0:off 1:off 2:off 3:off 4:off 5:off 6:off netconsole 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 netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off network 0:off 1:off 2:on 3:on 4:on 5:on 6:off ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off postfix 0:off 1:off 2:off 3:off 4:off 5:off 6:off rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off rdisc 0:off 1:off 2:off 3:off 4:off 5:off 6:off restorecond 0:off 1:off 2:on 3:on 4:on 5:on 6:off rsync 0:off 1:off 2:on 3:on 4:on 5:on 6:off saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off syslog-ng 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@F5:Active] config # cat /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. # # NOTE: # - /config/startup is for customer config additions and # will be saved in UCS and configsynced. # # - /etc/rc.local should *not* be used by customers and # can/will be changed by F5 # # Add /var/log/pam and set the appropriate owner, permissions # mkdir /var/log/pam > /dev/null 2>&1 chmod 0770 /var/log/pam chown root:apache /var/log/pam touch /var/log/pam/tallylog chmod 0660 /var/log/pam/tallylog chown root:apache /var/log/pam/tallylog chcon -t var_log_pam_t /var/log/pam/tallylog # # This callback is required for various Enterprise Manager tasks that # may be performed on the device. # if [ -f /shared/f5_update_action -a -f /usr/bin/f5_update_checker ]; then nohup /usr/bin/f5_update_checker >> /var/log/f5_update_checker.log 2>&1 fi # run customer config additions if [ -x /config/startup ]; then /config/startup fi touch /var/lock/subsys/local
named Running for 3 hours ntpd Running... postfix master Stopped snmpd Running for 3 hours sshd
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。