Hi Hassiabiker, I guess the update-rc.d bluetooth remove should be working. If …

Friday, 29th March 2024

Comment on How to remove and disable BlueTooth support on Debian GNU / Linux servers by admin.

Hi Hassiabiker,


I guess the update-rc.d bluetooth remove should be working.
If it is not working you can always do it manually with:
/sbin/runlevel

If it shows for example 5 it means you’re in runlevel 5 so to remove bluetooth just do:


cd /etc/rc5.d; ls -al *bluetooth*; then rename any reference to bluetooth from S*something to K99-theNumber behind S capital letter
for example if you have /etc/rc5.d/S20bluetooth to disable it do:
mv /etc/rc5.d/S20bluetooth /etc/rc5.d/K79bluetooth
and also to stop it for current boot do:
/etc/init.d/bluetooth stop

I don’t know what will be the situation with the bluetooth modules but you can check it with:

lsmod|grep -i bluetooth
or something and then just disable all modules that are loaded for bluetooth use and follow my instructions and add the respective bluetooth module to be disabled in /etc/modules just like I point in the article.

On next booth it should not load any more.


Hope this helps
Regards,

Georgi

admin Also Commented

How to remove and disable BlueTooth support on Debian GNU / Linux servers

Hi GC,

Thanks for note, steps included in article 🙂


Recent Comments by admin

Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
       –rwo, –report-warnings-only
              This option causes only warning messages to be displayed. This can be useful when rkhunter is run via cron. Other options may
              be used to force other items of information to be displayed.

       –sk, –skip-keypress
              When  the  –check command option is used, after certain sections of tests, the user will be prompted to press the return key
              in order to continue. This option disables that feature, and rkhunter will run until all the tests have completed.

         


Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
As rkhunter check, can be pretty annoying and ask you to press keypresses multiple times and spit you a lot of unnecessery data a very good useful option arguments are:

–rwo and –sk

# rkhunter -c –rwo –sk
Warning: The SSH and rkhunter configuration options should be the same:
         SSH configuration option 'PermitRootLogin': yes
         Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no


Fix eth changing network interface names from new Linux naming scheme ens, eno, em1 to legacy eth0, eth1, eth2 on CentOS Linux

Sorry for really late reply.

perhaps you have to create it or rename the ifcfg-eno1 to ifcfg-eth1 or you have some old ifcfg-enp1s0f0 or ifcfg-eno still under /etc/sysconfig/network-scripts/ interfering


How to RPM update Hypervisors and Virtual Machines running Haproxy High Availability cluster on KVM, Virtuozzo without a downtime on RHEL / CentOS Linux
if you happen to be missing versionlock plugin and you need to get use of it

yum versionlock capabilities

You will have to install yum-utils package:

For example on CentOS 8 Linux, to enable the yum versionlock plugiun

yum install yum-utils.noarch


How to log every Linux executed command by every running system program to separte log via rsyslog for better server Security and audit trails

In case if by default log is not configured for snoopy,
these are default output locations on various Linux distributions:

Distribution Snoopy output location Notes
CentOS /var/log/secure  
Debian /var/log/auth.log  
Ubuntu /var/log/auth.log  
(others) /var/log/messages (potentially, could be elsewhere)

Share this on:

Comments are closed.