I´m seeking a way to disable it forever since being hacked through an unused bluetooth connection previously. I don´t and have never used bluetooth. To me, seems like an added security risk.
Would be nice if the documentation covered this scenario too, BTW.
I just stopped it by editing "/lib/systemd/system/bluetooth.service"
Code:
sudo nano /lib/systemd/system/bluetooth.service
Then I commented out "ExecStart=/usr/lib/bluetooth/bluetoothd "
So it now looks like this
Code:
[Unit]
Description=Bluetooth service
Documentation=man:bluetoothd(8)
ConditionPathIsDirectory=/sys/class/bluetooth
[Service]
Type=dbus
BusName=org.bluez
# ExecStart=/usr/lib/bluetooth/bluetoothd
NotifyAccess=main
#WatchdogSec=10
#Restart=on-failure
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
LimitNPROC=1
[Install]
WantedBy=bluetooth.target
Alias=dbus-org.bluez.service
Now it shows in the terminal
Code:
~$ sudo systemctl status bluetooth
[sudo] password for me:
● bluetooth.service - Bluetooth service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Maybe more what you are after
I have an old friend tell me that this works also but i had already made my changes so I duno for sure...check it out if you want or just to verify.
Code:
sudo "echo 'manual' > /etc/init/bluetooth.override"
I'll be curious.
Bookmarks