0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00
howdy/README.md

38 lines
1.8 KiB
Markdown
Raw Normal View History

2018-01-05 16:07:48 +01:00
# Howdy for Ubuntu
2018-01-05 02:41:56 +01:00
2018-02-11 01:54:44 +01:00
Windows Hello™ style authentication for Ubuntu. Use your built-in IR emitters and camera in combination with face recognition to prove who you are.
2018-01-05 02:41:56 +01:00
2018-02-11 01:54:44 +01:00
Using the central authentication system in Linux (PAM), this works everywhere you would otherwise need your password: Login, lock screen, sudo, su, etc.
2018-01-05 16:07:48 +01:00
2018-02-11 01:54:44 +01:00
### Installation
2018-01-05 16:07:48 +01:00
2018-02-11 01:54:44 +01:00
Run the installer by pasting (`ctrl+shift+V`) the following command into the terminal:
2018-01-05 16:07:48 +01:00
```
wget -O /tmp/howdy_install.py https://raw.githubusercontent.com/Boltgolt/howdy/master/installer.py && sudo python3 /tmp/howdy_install.py
```
2018-01-05 16:07:48 +01:00
2018-02-11 01:54:44 +01:00
This will guide you through the installation. When that's done run `howdy add` to add a face model for the current user.
2018-01-05 16:07:48 +01:00
2018-02-11 01:54:44 +01:00
If nothing went wrong we should be able to run sudo by just showing your face. Open a new terminal and run `sudo -i` to see it in action.
2018-01-05 16:07:48 +01:00
**Note:** The build of dlib can hang on 100% for over a minute, give it time.
2018-02-11 01:54:44 +01:00
### Command line
2018-01-05 16:07:48 +01:00
2018-02-11 01:54:44 +01:00
The installer adds a `howdy` command to manage face models for the current user. Use `howdy help` to list the available options.
2018-01-05 16:07:48 +01:00
### Troubleshooting
2018-02-11 01:54:44 +01:00
Any python errors get logged directly into the console and should indicate what went wrong. If authentication still fails but no errors are printed you could take a look at the last lines in `/var/log/auth.log` to see if anything has been reported there.
2018-02-11 01:54:44 +01:00
If you encounter an error that hasn't been reported yet, don't be afraid to open a new issue.
### A note on security
This script is in no way as secure as a password and will never be. Although it's harder to fool than normal face recognition, a person who looks similar to you or well-printed photo of you could be enough to do it.
2018-02-11 01:54:44 +01:00
To minimize the chance of this script being compromised, it's recommend to leave this repo in /lib/security and to keep it read only.
2018-02-11 01:54:44 +01:00
DO NOT USE HOWDY AS THE SOLE AUTHENTICATION METHOD FOR YOUR SYSTEM.