Hi,
Simple question : is it possible to disabled some USB port through the iso ?
For information, i'm using Porteus Kiosk edition with a PXE Boot.
I hope i've been clear on my demand.
Thanks
Disabled USB port [SOLVED]
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
-
- White ninja
- Posts: 17
- Joined: 12 Aug 2014, 12:48
- Distribution: Porteus Kiosk
- Location: France
Disabled USB port [SOLVED]
Last edited by loukamoulox on 26 Aug 2014, 11:39, edited 1 time in total.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Disabled USB port
yes - you have to remaster kiosk ISO as per documentation provided on porteus-kiosk.org and add your code to /etc/rc.d/rc.local.
just yesterday i have played with this (tried to rescan usb keyboard through ssh) and worked fine for me.
here is sample command for disabling my own usb mouse:
and enabling it again:
good luck!
just yesterday i have played with this (tried to rescan usb keyboard through ssh) and worked fine for me.
here is sample command for disabling my own usb mouse:
Code: Select all
echo 0 > /sys/bus/usb/devices/usb5/authorized
Code: Select all
echo 1 > /sys/bus/usb/devices/usb5/authorized
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 17
- Joined: 12 Aug 2014, 12:48
- Distribution: Porteus Kiosk
- Location: France
Re: Disabled USB port
Hi,
Sorry for this late answer and thanks for yours !
I've been thinking about your answer for my problem , but here is the deal : we use differents computers, with different number of usb ports ... It's maybe "too deep".
So i made more research about and decided to disable usb storage only.
I'm not an expert in Linux, so i found this method to do it :
- echo "blacklist usb-storage" > /etc/modprobe.d/blacklist-usbstorage
(in the 003-settings.xzm , of course)
but how can i check if this is working , since the filesystem is disable on my kiosk ?
Thanks
Sorry for this late answer and thanks for yours !
I've been thinking about your answer for my problem , but here is the deal : we use differents computers, with different number of usb ports ... It's maybe "too deep".
So i made more research about and decided to disable usb storage only.
I'm not an expert in Linux, so i found this method to do it :
- echo "blacklist usb-storage" > /etc/modprobe.d/blacklist-usbstorage
(in the 003-settings.xzm , of course)
but how can i check if this is working , since the filesystem is disable on my kiosk ?
Thanks
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Disabled USB port
well - you have answered yourselfbut how can i check if this is working , since the filesystem is disable on my kiosk ?
there is no way to access usb key content from kiosk so you dont have to do anything in this matter.
i thought you want to disable usb ports in general for usb keyboards/mices/scan guns etc..
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 17
- Joined: 12 Aug 2014, 12:48
- Distribution: Porteus Kiosk
- Location: France
Re: Disabled USB port
Yep.. that's correct ahah.
Thanks for the help
Thanks for the help