Quote:
Originally Posted by kjhambrick
NaboHipersonico --
What enorbet, henca, business_kid, Tonus, LuckyCyborg and Aeterna said ( more or less ).
If you don't need a service, turn it off.
If you don't know what a service script provides, the people here on LQ are pretty helpful
HTH
-- kjh
This command will tell show you the executable service scripts:
Code:
ls -lad $(find /etc/rc.d -type f -executable)
When I run it on my machine, it returned these startup scripts:
Code:
-rwxr-xr-x 1 root root 13913 Feb 13 2021 /etc/rc.d/init.d/functions*
-rwxr-xr-x 1 root root 10543 Jul 24 09:18 /etc/rc.d/init.d/vmware*
-rwxr-xr-x 1 root root 2761 Jul 24 09:18 /etc/rc.d/init.d/vmware-USBArbitrator*
-rwxr-xr-x 1 root root 1649 Apr 24 2021 /etc/rc.d/rc.4*
-rwxr-xr-x 1 root root 10077 Nov 10 2021 /etc/rc.d/rc.6*
-rwxr-xr-x 1 root root 3303 Apr 23 2021 /etc/rc.d/rc.K*
-rwxr-xr-x 1 root root 13230 Nov 12 2021 /etc/rc.d/rc.M*
-rwxr-xr-x 1 root root 18050 Jan 27 2022 /etc/rc.d/rc.S*
-rwxr-xr-x 1 root root 552 Sep 20 2021 /etc/rc.d/rc.acpid*
-rwxr-xr-x 1 root root 669 Apr 25 2021 /etc/rc.d/rc.atd*
-rwxr-xr-x 1 root root 1456 Jan 26 2022 /etc/rc.d/rc.bluetooth*
-rwxr-xr-x 1 root root 3330 Apr 23 2021 /etc/rc.d/rc.cpufreq*
-rwxr-xr-x 1 root root 731 Feb 13 2021 /etc/rc.d/rc.crond*
-rwxr-xr-x 1 root root 3295 Jun 29 2021 /etc/rc.d/rc.cups*
-rwxr-xr-x 1 root root 1579 Mar 3 2021 /etc/rc.d/rc.elogind*
-rwxr-xr-x 1 root root 406 Dec 18 2021 /etc/rc.d/rc.font*
-rwxr-xr-x 1 root root 1893 Feb 13 2021 /etc/rc.d/rc.fuse*
-rwxr-xr-x 1 root root 1995 Sep 7 2021 /etc/rc.d/rc.fuse3*
-rwxr-xr-x 1 root root 462 Nov 7 2021 /etc/rc.d/rc.gpm*
-rwxr-xr-x 1 root root 762 Sep 30 2021 /etc/rc.d/rc.haveged*
-rwxr-xr-x 1 root root 29100 Nov 11 2021 /etc/rc.d/rc.inet1*
-rwxr-xr-x 1 root root 5340 Oct 13 2019 /etc/rc.d/rc.inet2*
-rwxr-xr-x 1 root root 503 Apr 10 2022 /etc/rc.d/rc.local*
-rwxr-xr-x 1 root root 175 Apr 10 2022 /etc/rc.d/rc.local_shutdown*
-rwxr-xr-x 1 root root 170 Apr 23 2021 /etc/rc.d/rc.loop*
-rwxr-xr-x 1 root root 1950 Oct 3 2021 /etc/rc.d/rc.mcelog*
-rwxr-xr-x 1 root root 1864 Feb 13 2021 /etc/rc.d/rc.messagebus*
-rwxr-xr-x 1 root root 780 Apr 23 2021 /etc/rc.d/rc.modules*
-rwxr-xr-x 1 root root 815 Apr 10 2022 /etc/rc.d/rc.modules.local*
-rwxr-xr-x 1 root root 2674 Sep 27 2021 /etc/rc.d/rc.networkmanager*
-rwxr-xr-x 1 root root 1616 Jul 26 2021 /etc/rc.d/rc.postfix*
-rwxr-xr-x 1 root root 4983 May 21 16:00 /etc/rc.d/rc.postgresql*
-rwxr-xr-x 1 root root 483 Jan 8 2019 /etc/rc.d/rc.setterm*
-rwxr-xr-x 1 root root 977 Feb 28 2021 /etc/rc.d/rc.smartd*
-rwxr-xr-x 1 root root 1814 Sep 29 2021 /etc/rc.d/rc.sshd*
-rwxr-xr-x 1 root root 669 May 12 2021 /etc/rc.d/rc.syslog*
-rwxr-xr-x 1 root root 1656 Apr 23 2021 /etc/rc.d/rc.sysvinit*
-rwxr-xr-x 1 root root 7064 Jan 12 2022 /etc/rc.d/rc.udev*
-rwxr-xr-x 1 root root 437 Feb 13 2021 /etc/rc.d/rc.ulogd*
-rwxr-xr-x 1 root root 13885 Mar 18 2021 /etc/rc.d/rc.wireless*
|
Yes, I know that the people here at LQ are super helpful and I'm super happy with this forum, because the truth is that you spend a lot of time with people and you learn a lot, never in my life had I also had this happen with linux until I installed slackware , it's a whole world and I love it and I'm very grateful to all of you for always helping me.
And now let's get down to business, I have applied the command and if I see services that I don't use, such as wireless because my computer doesn't have Wi-Fi, samba that I don't use, etc., I will investigate what each service is and ask any questions I may have.
When passing the command that you tell me, I get all this:
bash-5.1# ls -lad $(find /etc/rc.d -type f -executable)
-rwxr-xr-x 1 root root 13913 feb 13 2021 /etc/rc.d/init.d/functions
-rwxr-xr-x 1 root root 1642 sep 21 17:04 /etc/rc.d/init.d/piavpn
-rwxr-xr-x 1 root root 4133 sep 23 13:55 /etc/rc.d/init.d/vboxautostart-service
-rwxr-xr-x 1 root root 6498 sep 23 13:55 /etc/rc.d/init.d/vboxballoonctrl-service
-rwxr-xr-x 1 root root 23360 sep 23 13:55 /etc/rc.d/init.d/vboxdrv
-rwxr-xr-x 1 root root 6441 sep 23 13:55 /etc/rc.d/init.d/vboxweb-service
-rwxr-xr-x 1 root root 1649 abr 24 2021 /etc/rc.d/rc.4
-rwxr-xr-x 1 root root 10077 nov 10 2021 /etc/rc.d/rc.6
-rwxr-xr-x 1 root root 552 sep 20 2021 /etc/rc.d/rc.acpid
-rwxr-xr-x 1 root root 1009 feb 13 2021 /etc/rc.d/rc.atalk
-rwxr-xr-x 1 root root 669 ene 30 2022 /etc/rc.d/rc.atd
-rwxr-xr-x 1 root root 1569 oct 6 12:47 /etc/rc.d/rc.avahidaemon
-rwxr-xr-x 1 root root 1627 oct 6 12:47 /etc/rc.d/rc.avahidnsconfd
-rwxr-xr-x 1 root root 3990 sep 24 2021 /etc/rc.d/rc.bind
-rwxr-xr-x 1 root root 1456 ene 26 2022 /etc/rc.d/rc.bluetooth
-rwxr-xr-x 1 root root 3330 abr 23 2021 /etc/rc.d/rc.cpufreq
-rwxr-xr-x 1 root root 731 feb 13 2021 /etc/rc.d/rc.crond
-rwxr-xr-x 1 root root 3295 jun 29 2021 /etc/rc.d/rc.cups
-rwxr-xr-x 1 root root 814 sep 9 2021 /etc/rc.d/rc.dnsmasq
-rwxr-xr-x 1 root root 554 dic 7 2021 /etc/rc.d/rc.dovecot
-rwxr-xr-x 1 root root 1579 mar 3 2021 /etc/rc.d/rc.elogind
-rwxr-xr-x 1 root root 1893 feb 13 2021 /etc/rc.d/rc.fuse
-rwxr-xr-x 1 root root 1995 sep 7 2021 /etc/rc.d/rc.fuse3
-rwxr-xr-x 1 root root 1889 oct 14 10:35 /etc/rc.d/rc.g15daemon
-rwxr-xr-x 1 root root 1153 sep 20 13:17 /etc/rc.d/rc.gpm
-rwxr-xr-x 1 root root 762 ene 9 2022 /etc/rc.d/rc.haveged
-rwxr-xr-x 1 root root 1083 dic 20 2021 /etc/rc.d/rc.httpd
-rwxr-xr-x 1 root root 29100 ene 2 2022 /etc/rc.d/rc.inet1
-rwxr-xr-x 1 root root 5340 oct 13 2019 /etc/rc.d/rc.inet2
-rwxr-xr-x 1 root root 497 feb 13 2021 /etc/rc.d/rc.inetd
-rwxr-xr-x 1 root root 3303 abr 23 2021 /etc/rc.d/rc.K
-rwxr-xr-x 1 root root 139 sep 20 13:16 /etc/rc.d/rc.keymap
-rwxr-xr-x 1 root root 629 oct 14 10:33 /etc/rc.d/rc.local
-rwxr-xr-x 1 root root 170 abr 23 2021 /etc/rc.d/rc.loop
-rwxr-xr-x 1 root root 13230 nov 12 2021 /etc/rc.d/rc.M
-rwxr-xr-x 1 root root 1950 dic 10 2021 /etc/rc.d/rc.mcelog
-rwxr-xr-x 1 root root 1864 feb 13 2021 /etc/rc.d/rc.messagebus
-rwxr-xr-x 1 root root 780 abr 23 2021 /etc/rc.d/rc.modules
-rwxr-xr-x 1 root root 691 abr 23 2021 /etc/rc.d/rc.modules.local
-rwxr-xr-x 1 root root 2517 nov 20 2021 /etc/rc.d/rc.mysqld
-rwxr-xr-x 1 root root 2674 sep 27 2021 /etc/rc.d/rc.networkmanager
-rwxr-xr-x 1 root root 2920 jun 15 2021 /etc/rc.d/rc.nfsd
-rwxr-xr-x 1 root root 805 may 21 2021 /etc/rc.d/rc.ntpd
-rwxr-xr-x 1 root root 1526 jun 6 2021 /etc/rc.d/rc.openldap
-rwxr-xr-x 1 root root 3489 feb 28 2018 /etc/rc.d/rc.openvpn
-rwxr-xr-x 1 root root 1722 mar 16 2007 /etc/rc.d/rc.pcmcia
-rwxr-xr-x 1 root root 1616 ene 16 2022 /etc/rc.d/rc.postfix
-rwxr-xr-x 1 root root 2295 may 12 2021 /etc/rc.d/rc.rpc
-rwxr-xr-x 1 root root 18050 ene 27 2022 /etc/rc.d/rc.S
-rwxr-xr-x 1 root root 940 ene 31 2022 /etc/rc.d/rc.samba
-rwxr-xr-x 1 root root 1167 feb 13 2021 /etc/rc.d/rc.saslauthd
-rwxr-xr-x 1 root root 483 ene 8 2019 /etc/rc.d/rc.setterm
-rwxr-xr-x 1 root root 977 mar 1 2021 /etc/rc.d/rc.smartd
-rwxr-xr-x 1 root root 981 dic 21 2021 /etc/rc.d/rc.snmpd
-rwxr-xr-x 1 root root 1814 sep 29 2021 /etc/rc.d/rc.sshd
-rwxr-xr-x 1 root root 669 dic 4 2021 /etc/rc.d/rc.syslog
-rwxr-xr-x 1 root root 1656 abr 23 2021 /etc/rc.d/rc.sysvinit
-rwxr-xr-x 1 root root 7064 abr 23 2017 /etc/rc.d/rc.udev
-rwxr-xr-x 1 root root 437 feb 13 2021 /etc/rc.d/rc.ulogd
-rwxr-xr-x 1 root root 4096 sep 23 14:23 /etc/rc.d/rc.vboxautostart-service
-rwxr-xr-x 1 root root 6465 sep 23 14:23 /etc/rc.d/rc.vboxballoonctrl-service
-rwxr-xr-x 1 root root 12643 sep 23 14:23 /etc/rc.d/rc.vboxdrv
-rwxr-xr-x 1 root root 13885 mar 19 2021 /etc/rc.d/rc.wireless
bash-5.1#