Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.