安全Galaxy Tab的 - 如何禁用蓝牙和/或WiFi内核权限?蓝牙、内核、权限、安全

2023-09-07 08:59:29 作者:Little bear.(小熊)

请善待足以支持我,帮助我保证银河标签,我们给出了员工。有没有一种方法来禁用权限停止访问蓝牙和WiFi ...

Please be kind enough to support me with help me securing Galaxy tabs we give out for employees. Is there a way to disable the permission to stop accessing Bluetooth and WiFi...

禁用蓝牙最简单的方法是只删除权限在蓝牙设备。蓝牙是由内核通过设备管理的/ dev / ttyHS0和/ dev / ttyMSM0而这些设备已经设置读写权限(660)的用户和组蓝牙。如果这些权限被删除,设备将不会到达。这必须引导系统时,因为在/ dev目录复位完成重新启动过程中。

"The easiest way to disable bluetooth is to just remove the permission in the bluetooth device. Bluetooth is managed by the kernel through the devices /dev/ttyHS0 and /dev/ttyMSM0 and these devices have set read and write permissions (660) for the user and group bluetooth. If those permissions are removed, the device will not be reachable. This must be done when booting the system since the /dev directory is reset during reboot."

我怎样才能做到这一点?

how can i achieve this?

推荐答案

是的,这是有可能在引导做的 - 你需要做的是提取设备中的boot.img

Yes this is possible to do on boot - what you will need to do is extract the boot.img from the device.

您可以解压,然后它给你一个ramdisk和放大器的boot.img文件;内核映像。在Ramdisk的是一组初始化文件,init.rc是在那里你会想要么把你的code到persmission设立该设备的或的引用脚本。

You can then unpack the boot.img which gives you a ramdisk & a kernel image. In the Ramdisk is a set of init files, init.rc is where you are going to want to either place your code to set up the persmission to this device or reference a script.

这是否帮助?