|
1 |
| -# Howdy for Ubuntu |
| 1 | +# Howdy for Ubuntu [](https://travis-ci.org/Boltgolt/howdy) [](https://github.com/Boltgolt/howdy/releases) [](https://github.com/Boltgolt/howdy/issues?q=is%3Aissue+is%3Aopen+label%3Aenhancement) |
2 | 2 |
|
3 | 3 | Windows Hello™ style authentication for Ubuntu. Use your built-in IR emitters and camera in combination with face recognition to prove who you are.
|
4 | 4 |
|
5 | 5 | Using the central authentication system in Linux (PAM), this works everywhere you would otherwise need your password: Login, lock screen, sudo, su, etc.
|
6 | 6 |
|
7 | 7 | ### Installation
|
8 | 8 |
|
9 |
| -Run the installer by pasting (`ctrl+shift+V`) the following command into the terminal: |
| 9 | +Run the installer by pasting (`ctrl+shift+V`) the following commands into the terminal one at a time: |
10 | 10 |
|
11 | 11 | ```
|
12 |
| -wget -O /tmp/howdy_install.py https://raw.githubusercontent.com/Boltgolt/howdy/master/installer.py && sudo python3 /tmp/howdy_install.py |
| 12 | +sudo add-apt-repository ppa:boltgolt/howdy |
| 13 | +sudo apt update |
| 14 | +sudo apt install howdy |
13 | 15 | ```
|
14 | 16 |
|
15 |
| -This will guide you through the installation. When that's done run `sudo howdy USER add` and replace `USER` with your username to add a face model. |
| 17 | +**Note:** The build of dlib can hang on 100% for over a minute, give it time. |
| 18 | + |
| 19 | +This will guide you through the installation. When that's done run `sudo howdy add` to add a face model. |
16 | 20 |
|
17 | 21 | 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.
|
18 | 22 |
|
19 |
| -**Note:** The build of dlib can hang on 100% for over a minute, give it time. |
| 23 | +If you're curious you can run `sudo howdy config` to open the central config file and see the options Howdy has. |
20 | 24 |
|
21 | 25 | ### Command line
|
22 | 26 |
|
23 |
| -The installer adds a `howdy` command to manage face models for the current user. Use `howdy help` to list the available options. |
| 27 | +The installer adds a `howdy` command to manage face models for the current user. Use `howdy --help` or `man howdy` to list the available options. |
| 28 | + |
| 29 | +Usage: |
| 30 | +``` |
| 31 | +howdy [-U user] [-y] command [argument] |
| 32 | +``` |
| 33 | + |
| 34 | +| Command | Description | |
| 35 | +|-----------|-----------------------------------------------| |
| 36 | +| `add` | Add a new face model for an user | |
| 37 | +| `clear` | Remove all face models for an user | |
| 38 | +| `config` | Open the config file in gedit | |
| 39 | +| `disable` | Disable or enable howdy | |
| 40 | +| `list` | List all saved face models for an user | |
| 41 | +| `remove` | Remove a specific model for an user | |
| 42 | +| `test` | Test the camera and recognition methods | |
24 | 43 |
|
25 | 44 | ### Troubleshooting
|
26 | 45 |
|
27 | 46 | 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.
|
28 | 47 |
|
29 | 48 | If you encounter an error that hasn't been reported yet, don't be afraid to open a new issue.
|
30 | 49 |
|
31 |
| -### Uninstalling |
32 |
| - |
33 |
| -There is an uninstaller available, run `sudo python3 /lib/security/howdy/uninstall.py` to remove Howdy from your system. |
34 |
| - |
35 | 50 | ### A note on security
|
36 | 51 |
|
37 | 52 | 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.
|
38 | 53 |
|
39 |
| -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. |
| 54 | +To minimize the chance of this program being compromised, it's recommend to leave Howdy in /lib/security and to keep it read only. |
40 | 55 |
|
41 | 56 | DO NOT USE HOWDY AS THE SOLE AUTHENTICATION METHOD FOR YOUR SYSTEM.
|
0 commit comments