L
L
lukonin2014-11-07 17:16:45
linux
lukonin, 2014-11-07 17:16:45

Authorization using Wi-Fi (PAM)?

The idea is to log in to the system if there is a smartphone within the range of Wi-Fi and lock the screen if the smartphone is out of range of Wi-Fi. For PAM, I found only authorization using Bluetooth and Flash drives. I also came across such a thing, but I'm not sure if this is exactly what I need, plus I have Cinnamon.
Anyone set it up? Post links to manuals.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentine, 2014-11-07
@vvpoloskin

No way. Wifi was not designed for this. The reason is that the workstation, on which the screen is supposed to be blocked, should not distribute Wi-Fi. Why hasn't this been hacked yet? I can name many reasons, at least for example wifi - multiple access, unlike bluetooth point-to-point. If someone else connect, block the screen? Or if someone else connects with your mac address? Or, my God, someone will create a hotspot with the same ssid as your computer, while the client will connect to it, and not to your computer. Or the wifi network periodically changes in the phone - what should happen in this case?
If you still want to hack, you can, for example, in the same hostapd, hang a hook to connect a specific device (mac?) and unlock the screen. This is done, but I did not check the correctness of the work.
And of course, no one canceled the opportunity to slightly tweak the card driver itself)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question