Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I found lot of documents to disable the USB ports but all systems in lab are having administrator user,if I disable usb ports using administrator account,someone can easily enable by giving sudo modprobe usb_storage,So I want to prevent this,is there any other way to disable usb ports by using SuperUser account ?

share|improve this question
This shouldn't be possible. The superuser has access to all settings and therefore can rollback any measures placed to prevent that. You are better off cloning the superuser's settings into a new account. –  nickguletskii Nov 17 '12 at 6:03
cloning technique will work without any trouble ? –  Yashwant Nov 17 '12 at 6:15
Probably will... Just be careful. Relevant question: askubuntu.com/questions/100252/cant-clone-a-user-profile –  nickguletskii Nov 17 '12 at 6:44
You can try removing the accounts from the sudoers group. Though they would no longer be administrator. –  VedVals Nov 17 '12 at 8:02
Is there any other method to implement this ? –  Yashwant Nov 17 '12 at 11:42
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.