You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ PRs to improve code quality and security are highly appreciated.
22
22
23
23
Modify to your needs:
24
24
25
-
1. Compile using `cargo build --production` and place the resulting binary in `/usr/local/bin`.
25
+
1. Compile using `cargo build --production` and place the resulting binary in `/usr/local/bin`. You probably need to install `libclang-dev build-essential libpam0g-dev libpam0g` for the required `pam`-crate to compile.
26
26
2. Add and enable systemd service. A sample for the unit file is in the `examples` directory.
27
27
3. Add TOTP secrets comma-separated as `username,secret` in the shadow file you specified in the unit file (`--shadow-file`, defaults to `/etc/shadow_totp`). An example is provided in the `examples` directory. **Only users present in this file are allowed to log in.**
28
28
4. Set file permissions of this shadow file accordingly (readable by your selected service user, preferrably not readable by any other users or groups).
0 commit comments