Jump to content

Allow usb devices by serial number? Lock out admin unless key is plugged in?


vailixi

Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...