Re: Predator (USB key security)
Seva Epsteyn <[email protected]> Tue, 17 May 2011 19:33:55 -0500
| Newsgroups | gmane.org.user-groups.luni.tech |
|---|---|
| Message-ID | <[email protected]> |
This may be of interest as well, http://pamusb.org/ (and http://ubuntuforums.org/showthread.php?t=17571) On Tue, May 17, 2011 at 19:08, Seva Epsteyn <[email protected]> wrote: > I just wrote this shell script, using a random USB thumb drive I had lying > around. Obviously, I wouldn't suggest it as being very secure, especially > as that serial number appears rather silly. I've done that with a Bluetooth > phone before for fun as well. If you search on the web, you should be able > to find a few examples. > > > DIR='/proc/scsi/usb-storage' > SEKRET="000000000000A9" > ACTION="lock" > PAUSE="1" > > > while true; do > for dev in $(ls -1 "$DIR"); do > serial=$(cat $DIR/$dev | grep ^Serial | awk '{print $3}') > if [ "$serial" = "$SEKRET" ]; then > ACTION="unlock" > fi > done > > if [ "$ACTION" = "unlock" ]; then > gnome-screensaver-command -d > else > gnome-screensaver-command -a > fi > > ACTION="lock"; sleep $PAUSE > done > > > > On Tue, May 17, 2011 at 16:48, Rick Munday <[email protected]>wrote: > >> >> http://www.montpellier-informatique.com/predator/en/index.php?n=Main.HomePage >> >> Anyone know of something like this for *nix? Ubuntu specifically? >> -- >> Linux Users Of Northern Illinois (Chicago) - Technical Discussion >> http://luni.org/mailman/listinfo/luni >> > > -- Linux Users Of Northern Illinois (Chicago) - Technical Discussion http://luni.org/mailman/listinfo/luni