Comments (1)
Ubuntu doesn't use lightdm
does it?
I have added this to my /etc/pam.d/common-auth
to add so that I also need the key to login, not just password. and it works in any program that uses pam
and need to authorization (log in).
Notice that I have only copied parts of the file, so you need to edit it, not copy. The comments about u2f should be enough to add this yourself. But choose either sufficent
in the beginning, that is commented out, or required
in the end.
Also notice that you need to create the u2f_keys
files with pamu2fcfg
before you can continue.
# pam-auth-update(8) for details.
# here are the per-package modules (the "Primary" block)
# u2f done early. If right device installed, skipp rest (jxn)
#auth sufficient pam_u2f.so cue
auth [success=3 default=ignore] pam_fprintd.so max_tries=1 timeout=10 # debug
auth [success=2 default=ignore] pam_unix.so nullok try_first_pass
auth [success=1 default=ignore] pam_sss.so use_first_pass
# here's the fallback if no module succeeds
auth requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
auth required pam_permit.so
# and here are more per-package modules (the "Additional" block)
auth optional pam_cap.so
# end of pam-auth-update config
# test u2f
# Create key - pamu2fcfg > ~/.config/Yubico/u2f_keys
# sufficient - may use, set early
# required - must use. set late
#auth sufficient pam_u2f.so cue
auth required pam_u2f.so cue
Also recommended to have to keys, so you can just concatenate the output of pamu2fcfg
with the second key, like pamu2fcfg >> u2f_keys
, or put them in different files, and then just concatenate them together like this: cat u2f_keys.red u2f_keys.black >usf_keys
. Then you have the keys there when you need them.
from solo1.
Related Issues (20)
- Registered key not recognised
- Opened by mistake
- New solo key usb-c not recognized by login sysem on linux HOT 6
- Cant proceed firmware update for Solo2
- Problem adding ssh key to the SSH agent. HOT 1
- Solo2 fails to register with Okta as NFC device
- Project dead? HOT 3
- Compatibility with ESP-WROOM-32?? HOT 4
- broken link in docs/contributing.md
- Docker build all failed on macOS HOT 3
- Solo Hacker Not Found with WSL HOT 3
- fido2.ctap.CtapError when running `solo1 key keyboard 'sequence'` HOT 1
- SoloKey dead after updating firmware to 4.1.5 HOT 1
- Broken link in FAQ https://solokeys.com/pages/faq
- make[1]: *** No rule to make target 'solo.elf', needed by 'solo.hex'. Stop
- Import Errors
- Stuck in bootloader
- NFC triggers SoloKeys website HOT 2
- commandline to disable passkey
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solo1.