generate a list of services that are enabled at runlevel 3.
chkconfig --list | awk '/3:on/ { print $1 }'
disable a service
chkconfig --level 5 sendmail off
generate a list of services that are enabled at runlevel 3.
chkconfig --list | awk '/3:on/ { print $1 }'
disable a service
chkconfig --level 5 sendmail off
Post a Comment