Linux - Reddit – Telegram
Linux - Reddit
775 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
[Project 2FA-Auth] Generating 2FA codes in your terminal

Hello, guys!

Nowadays, it's normal to find sites and/or services that use "Two-Factor Authenticator (2FA)" to generate 2FA codes and avoid (or make harder) to people steal your account. Thinking about this, I created a BASH noscript that generates a 2FA code in your terminal.

To do this, you need to install GnuPG2 and OATHTOOL in your system and get 2FA-Auth from GitHub.

Check how to install GnuPG2, OATHTOOL and GIT in your GNU/Linux distribution.

Once these programs are installed, type in a terminal:

$ git clone https://github.com/alencc1986/2FA-Auth.git

>OPTIONAL STEP:
>
>Download 2FA-Auth into "/opt" and link the noscript ***2FA-Auth.sh*** into "/usr/bin/", like this:
>
>`sudo ln -sf /opt/2FA-Auth/2fa-auth.sh /usr/bin/2fa-auth.sh`
>
>Or create an alias into your BASHRC `alias 2fa-auth="bash /path/to/2FA-Auth/2fa-auth.sh"` and `source ~/.bashrc`

Read the file README.txt and access the site/service you want to use 2FA, enable this feature and include it into 2FA-Auth.

In theory, any UNIX-like system running BASH and that have GPG and OATHTOOL could run 2FA-Auth. Try it and let me know.

Well... From now on, you don't need to use your cellphone/tablet to generate 2FA codes. Just run 2FA-Auth in your terminal and you're going to have a 2FA code for your services.

​

Have fun!

https://redd.it/cvvunx
@r_linux
The biggest events in Linux's history

This list is a summary from [Steven J. Vaughan-Nichols post @ ZDNet](https://www.zdnet.com/pictures/the-biggest-events-in-linuxs-history/)

NB: The website is broken in my linux mozilla browser and in any case a terse linux vi / terminal feel seems more fitting than a bloated javanoscript website :-)

​

[List of key moments in linux's history](https://i.redd.it/c44sja8oivi31.png)

https://redd.it/cvvntr
@r_linux
Is it just me or did they make arch harder to install on purpose?

Used to be able to grab the beginners guide and be done in about half hour just basically copying and pasting commands. Now it's all over the place in a so called installation guide. I don't know why they had to go delete the beginners guide with step by step instructions that were so useful. I've been out of the game for awhile now and the task seems super daunting now

https://redd.it/cvy8zr
@r_linux
You know you are a Linux user when

You see the word “cat” in class and think of “category” instead of the animal as an English teacher.

https://redd.it/cvycoz
@r_linux
Asus x205ta, GRUB 2 is installed, but finds nothing but windows to boot

My USB drives are non-functional, to make this harder.

https://redd.it/cvzspu
@r_linux
best linux distro for weak hardware

Hello guys, i have a 2g ram and amd processor dual core 1.5ghz and i only need this computer to download files/browser the internet(normal usage like text based web pages), i tried LUBUNTU latest version and it's still very slow... thanks a lot.

https://redd.it/cw2z1z
@r_linux
#linfehack - in Chrome/Chromium when you click the new tab button with your scroll wheel it will immidiately open search results with the contents of your clipboard

I've tested it on a couple of systems and it uses the default search engine.


Does not work on Windows (duh).

https://redd.it/cw4qjr
@r_linux
Not able to change resolution in Elementary OS (Unknown Display)

So I recently downloaded VMware and installed Elementary OS. Everything works fine, except the fact that it keeps displaying unknown display and I can't change the resolution.

https://redd.it/cw7hg5
@r_linux
Restored disk image, recover previous data?

Hello,
I recently restored a disk image on an external SSD. The issue is, I only wanted to restore the image of a single partition, not the entire disk. A careless mistake.
I have a feeling it's possible to recover the lost data, and figured this is the best place to ask for advice.
How, if possible, can I recover the data?
Thanks

https://redd.it/cw8avy
@r_linux
This is my personal linux commands cheat sheet. Not perfect but pretty useful for me
https://redd.it/cw922a
@r_linux