Skip to main content
Welcome guest. | Register | Login | Post

Password Protect

3 replies [Last post]
AndrewB's picture
Joined: 2005-12-18

Hey all,

I am wondering if this is possible to do. Basically I want my GNU/Linux system to lock when the screensaver comes on which is easy enough to setup.
Instead of having to enter my password I want it to just go to the desktop with no need to enter password given that I have my usb pen in a usb socket on the computer.
If I do not have it in then it should display the normal Username/Password login screen.

Is this possible at all?

a thing's picture
Joined: 2005-12-20
need to make it

That sounds like something you'd have to make yourself. Anyway, what if you accidentally leave your USB key in there and someone sneaks on?

libervisco's picture
Joined: 2006-05-04
This reminds me of

This reminds me of something me and tbuitenh discussed once, using your USB stick as a key to the computer. Although this is not exactly what you want, it's related..

You could set your computer up so that it uses an USB stick as its /boot partition. So if the stick isn't in, it wont be able to boot and if it is in, you can boot. Smiling

Maybe something can be done with the screensaver combination you mention too, but I'm afraid I've no good ideas.. maybe if you could modify xscreensaver to look at the USB stick for the password, a key or something..

Joined: 2006-03-28
Well, this might be

Well, this might be possible with PAM, since this can support different methods to login, not only keyboard-interactive login.
I don't know if there's a module for that, but I could imagine.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.