vailixi Posted July 24, 2014 Share Posted July 24, 2014 I thought of a cool random project. I wanted to disable root unless a specific usb device or multiple devices are plugged in. Better still a device with a specific serial number and some files containing passwords or keys. I had read that there are some udevs files you can edit and edit usb.c parameters. Is there a preferred way to go about this? Or maybe a .conf file that can be edited to make this happen? Basically I want to lock out all devices except usb keys with certain serial numbers then block root access or any login unless the usb key is plugged in. Is there an easy way to go about this? Is this easy to bipass? Quote Link to comment Share on other sites More sharing options...
cooper Posted July 24, 2014 Share Posted July 24, 2014 Top of the list... Quote Link to comment Share on other sites More sharing options...
vailixi Posted July 24, 2014 Author Share Posted July 24, 2014 Very nice answer! PAM modules is what I wanted. That is easy. Quote Link to comment Share on other sites More sharing options...
Computer_Security Posted August 1, 2014 Share Posted August 1, 2014 Top of the list... great to see others using LMGTFY!!!!!! Quote Link to comment Share on other sites More sharing options...
Computer_Security Posted August 1, 2014 Share Posted August 1, 2014 i also found this http://www.mysmartlogon.com/products/eidvirtual.html# Quote Link to comment Share on other sites More sharing options...
Elk Posted August 1, 2014 Share Posted August 1, 2014 I wrote a tool that uses dbus to get usb device details. You can use USB keys to lock/unlock the screensaver. Linux only atm but the framework for osx and win is there. Maybe you can find some useful stuff in there for your project https://github.com/Svenito/usblock Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.