WebJun 17, 2014 · chkconfig cups off. after disabling the services that you do now want to start on boot, you can create a second output file containing the enabled services and compare the 2. chkconfig --list grep "3:on" awk '{print $1}' sort > after. To compare before and after: diff before after . WebMay 24, 2004 · Users logged on as root can turn off a service by entering the path name for the service script followed by the stop option. For example, to turn off nfs, enter: # /etc/init.d/nfs stop. Note that Red Hat versions of Linux may use the path: /etc/rc.d/init.d instead. Going by your distro, RH7.3 in your profile, I think.
7 Linux chkconfig Command Examples – Add, Remove, …
WebJan 6, 2024 · A tutorial of using chkconfig command to turn system services on or off in Linux. Chkconfig provides a command line tool to maintain the / etc / RC [0 ~ 6] d folder, which reduces the burden of the system directly managing the symbolic connections in these folders. Chkconfig mainly includes five original functions: adding new services for ... floating bed with chains
Redhat linux hardening tips & bash script – Binbert
WebViewed 849 times 1 I want to stop CUPS service on my 12.04 ubuntu: sudo service cups stop it's stopped. I check it's status by : chkconfig it's off but /var/log/cups size is still … WebNov 2, 2024 · By the way they all are still off. Code: Select all chkconfig cups off chkconfig smartd off chkconfig abrt-ccpp off chkconfig abrtd off On centos 7 the right file is /etc/cron.daily/mlocate so the updatedb command has been called for sure since the install... Can it be a problem ? if yes why ? WebRestart the network interface by the following commands. #service network restart 10. Close unnecessary services via the “setup” menu tool or use chkconfig to turn off auto start of certain services e.g. #chkconfig cups off #chkconfig nfslock off 11. After first restart, check your logs to see some errors great hobbies for 40 year olds