U2f yubikey - setup process confusing
hi. i am trying to setup my fb account for 2 factor authorization using my U2F blue key. for using linux with the key, the following instructions are below. i read something that said something about using a command line. does anyone know how to use a command line to do this? if not, can someone help me to understand the instructions below?
==================================================================================================== ======================== To set up your Linux system for U2F, follow steps 1-5: 1--- If you have a Security Key by Yubico (blue color), U2F is enabled by default (only U2F mode is supported on this product). 2--- Go to https://github.com/Yubico/libu2f-hos...r/70-u2f.rules and download or create a copy of the file named 70-u2f.rules into the Linux directory: /etc/udev/rules.d/ 3--- If this file is already there, ensure that the content looks like the one provided on github.com/Yubico (link above). 4--- Note: If your version of UDEV is lower than 188, use the rules at https://github.com/Yubico/libu2f-hos...-old-u2f.rules instead. 5--- Save your file, and then reboot your system. ==================================================================================================== ======================== I am stuck at the 2nd step. i go to that page and i'm assuming that lines "1-56" are the file. if i copy the file (since i don't see a download link for it unless the blue hyperlink at the top is it), how do i put it into a directory called "/etc/udev/rules.d/" ? how do i create that directory? cheers |
Click the "raw" button, then use your browser option to "Save file as ..." - use the name given and make sure the filetype is "plain text" or txt, something like that.
Then you can copy the file to /etc/udev/rules.d/ (which should already exist). |
thanks, but i don't understand........ where is there a "raw" button? also, "can copy the file to /etc/udev/rules.d/ (which should already exist)." where does this already exist - i have no idea.
thanks for trying but i need further clarification. |
ok. i found raw and saved it as a .txt. but i don't understand: /etc/udev/rules.d/ (which should already exist).
where does it exist? cheers |
when i put that in the directory url, i get a blank page that opens. but i am not able to paste it there..... i don't know if that is where it is suppose to go, but if yes, it won't paste.
|
You haven't posted your distro (Ubuntu, Mint, ... whatever) or your Desktop Environment (gnome, Cinnamon, ....whatever) so we can only be general.
/etc/udev/rules.d is a directory (think folder) that is owned by root user - him be god, however you visualise that. You can pretend to be god for a short while. Open a terminal (like an old DOS session in windows) - try the Windows key, bottom left and type in terminal - enter this code, you will be asked for your password. Code:
find . 70-u2f.rules -exec sudo cp {} /etc/udev/rules.d/ \; |
thx. debian 9
command: find . 70-u2f.rules -exec sudo cp {} /etc/udev/rules.d/ \; got: find . 70-u2f.rules -exec sudo cp {} /etc/udev/rules.d/ \; cp: omitting directory '.' cp: omitting directory './.cache' cp: omitting directory './.cache/lxsession' cp: omitting directory './.cache/lxsession/LXDE' cp: omitting directory './.cache/chromium' cp: omitting directory './.cache/chromium/Default' cp: omitting directory './.cache/Tox' cp: omitting directory './.cache/Tox/qTox' cp: omitting directory './.cache/mc' cp: omitting directory './.cache/mc/mcedit' cp: omitting directory './.cache/openbox' cp: omitting directory './.cache/openbox/sessions' cp: omitting directory './.cache/mozilla' cp: omitting directory './.cache/mozilla/firefox' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/safebrowsing' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/thumbnails' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/B' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/2' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/4' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/5' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/E' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/C' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/0' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/9' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/F' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/7' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/A' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/8' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/D' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/6' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/3' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/Cache/1' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/cache2' cp: omitting directory './.cache/mozilla/firefox/81ytn9g9.default/cache2/entries' |
i switched where they key was to the hubs where my firewall and browser are - i suspect that is where it should be in the first place, i'm guessing........
output: find . 70-u2f.rules -exec sudo cp {} /etc/udev/rules.d/ \; cp: -r not specified; omitting directory '.' cp: -r not specified; omitting directory './tbundle' cp: -r not specified; omitting directory './tbundle/tor' cp: -r not specified; omitting directory './tbundle/tor/bin' cp: -r not specified; omitting directory './tbundle/tor/hs' cp: -r not specified; omitting directory './tbundle/tor/hs/ssh' cp: -r not specified; omitting directory './tbundle/tor/data' cp: -r not specified; omitting directory './tbundle/tor/share' cp: -r not specified; omitting directory './tbundle/tor/share/man' cp: -r not specified; omitting directory './tbundle/tor/share/man/man1' cp: -r not specified; omitting directory './tbundle/tor/share/doc' cp: -r not specified; omitting directory './tbundle/tor/share/doc/tor' cp: -r not specified; omitting directory './tbundle/tor/share/tor' cp: -r not specified; omitting directory './tbundle/tor/etc' cp: -r not specified; omitting directory './tbundle/tor/etc/tor' cp: -r not specified; omitting directory './.cache' find: ‘70-u2f.rules’: No such file or directory |
incidentally, i downloaded a copy of both "old-u2f" rules and the "r/70-u2f"
|
any suggestions???
|
OK, let's see what you actually have on that machine.
Code:
find . -iname "*-u2f*" 2>/dev/null |
find . -iname "*-u2f*" 2>/dev/null
./Desktop/70-u2f.rules.txt ./Desktop/70-old-u2f.rules.txt NAME@NAME:~$ ls /etc/udev/rules.d |
OK, let's just copy it over - then make sure it's there, then you should be able to reboot.
Code:
sudo cp ~/Desktop/70-u2f.rules.txt /etc/udev/rules.d/70-u2f.rules |
thx.
~# sudo cp ~/Desktop/70-u2f.rules.txt /etc/udev/rules.d/70-u2f.rules root@NAME:~# ls /etc/udev/rules.d/ |
what's next?
|
All times are GMT -5. The time now is 06:30 AM. |