[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
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
GitHub
alencc1986/2FA-Auth
Generating 2FA codes in your terminal. Contribute to alencc1986/2FA-Auth development by creating an account on GitHub.
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
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
ZDNet
The biggest events in Linux's history | ZDNet
A year by year summary of the most significant events in Linux's history to date.
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
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
reddit
r/linux - Is it just me or did they make arch harder to install on purpose?
0 votes and 5 comments so far on Reddit
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
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
reddit
r/linux - You know you are a Linux user when
0 votes and 11 comments so far on Reddit
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
My USB drives are non-functional, to make this harder.
https://redd.it/cvzspu
@r_linux
reddit
r/linux - Asus x205ta, GRUB 2 is installed, but finds nothing but windows to boot
0 votes and 0 comments so far on Reddit
[lwn] Hardening the "file" utility for Debian
https://lwn.net/Articles/796108/
https://redd.it/cw085z
@r_linux
https://lwn.net/Articles/796108/
https://redd.it/cw085z
@r_linux
lwn.net
Hardening the "file" utility for Debian
The file
command would seem to be an ideal candidate for sandboxing; it routinely handles
untrusted input. But an effort to add seccomp()
filtering to file for Debian has run aground. The upstream file project has added
support for sandboxing via seccomp()…
command would seem to be an ideal candidate for sandboxing; it routinely handles
untrusted input. But an effort to add seccomp()
filtering to file for Debian has run aground. The upstream file project has added
support for sandboxing via seccomp()…
Xfce 4.16 to be released in a year, no Wayland or GTK 4 obviously!
https://simon.shimmerproject.org/2019/08/21/xfce-4-14-released-yeah-like-a-week-ago/
https://redd.it/cw0xq6
@r_linux
https://simon.shimmerproject.org/2019/08/21/xfce-4-14-released-yeah-like-a-week-ago/
https://redd.it/cw0xq6
@r_linux
reddit
r/linux - Xfce 4.16 to be released in a year, no Wayland or GTK 4 obviously!
0 votes and 0 comments so far on Reddit
Wrote a small function to transfer files to and from servers to local machine when using a proxy server.
https://github.com/gauravat16/Bash-Scripts/blob/master/tools/PSCP.sh
https://redd.it/cv96hk
@r_linux
https://github.com/gauravat16/Bash-Scripts/blob/master/tools/PSCP.sh
https://redd.it/cv96hk
@r_linux
GitHub
gauravat16/Bash-Scripts
My utility bash noscripts. Contribute to gauravat16/Bash-Scripts development by creating an account on GitHub.
What happens when you launch a fresh install of Firefox
https://twitter.com/jonathansampson/status/1165858896176660480
https://redd.it/cw1zmd
@r_linux
https://twitter.com/jonathansampson/status/1165858896176660480
https://redd.it/cw1zmd
@r_linux
Twitter
Sampson
What happens when you launch a fresh install of Firefox? I was curious, so I did so with version 68.0.2, and monitored my network activity. Here's what I learned…
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
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
reddit
r/linux - best linux distro for weak hardware
0 votes and 14 comments so far on Reddit
What happens when ... you run $ apt-get install <>
https://blog.koundinya.xyz/posts/dependency_tools_apt_get/
https://redd.it/cw3gb5
@r_linux
https://blog.koundinya.xyz/posts/dependency_tools_apt_get/
https://redd.it/cw3gb5
@r_linux
reddit
r/linux - What happens when ... you run $ apt-get install <>
0 votes and 2 comments so far on Reddit
#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
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
reddit
r/linux - #linfehack - in Chrome/Chromium when you click the new tab button with your scroll wheel it will immidiately open search…
0 votes and 4 comments so far on Reddit
What's New in Xfce 4.14 Desktop
https://www.youtube.com/watch?v=9ABYlcmqQ-Q
https://redd.it/cw5m4n
@r_linux
https://www.youtube.com/watch?v=9ABYlcmqQ-Q
https://redd.it/cw5m4n
@r_linux
YouTube
What's New in Xfce 4.14 Desktop
SUBSCRIBE now for more: https://www.youtube.com/user/linuxscoop?sub_confirmation=1
SUPPORT linuxscoop on patreon! https://patreon.com/linuxscoop
After 4 years and 5 months of development, Xfce 4.14 was finally released. a release that it is probably included…
SUPPORT linuxscoop on patreon! https://patreon.com/linuxscoop
After 4 years and 5 months of development, Xfce 4.14 was finally released. a release that it is probably included…
Linux package managers are slow
https://michael.stapelberg.ch/posts/2019-08-17-linux-package-managers-are-slow/
https://redd.it/cw6lsd
@r_linux
https://michael.stapelberg.ch/posts/2019-08-17-linux-package-managers-are-slow/
https://redd.it/cw6lsd
@r_linux
Michael Stapelberg
Linux package managers are slow
I measured how long the most popular Linux distribution’s package manager take to install small and large packages.
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
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
reddit
r/linux - Not able to change resolution in Elementary OS (Unknown Display)
0 votes and 0 comments so far on Reddit
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
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
reddit
r/linux - Restored disk image, recover previous data?
0 votes and 1 comment so far on Reddit
This is my personal linux commands cheat sheet. Not perfect but pretty useful for me
https://redd.it/cw922a
@r_linux
https://redd.it/cw922a
@r_linux
imv v4.0 released - a lightweight image viewer for X11 and Wayland
Today marks the v4.0 release of [imv](https://github.com/eXeC64/imv): a
minimalistic image viewer with support for dozens of file formats, including
animated gifs and SVG.
For users of Sway, i3, dwm, or other tiling window managers, imv provides a
lightweight way to view almost any image, with customisable key bindings,
auto-reloading, and the ability to run arbitrary shell commands. imv integrates
natively with both X11 and Wayland, allowing users to run a pure Wayland
desktop environment if preferred. It is also portable, running on Linux, BSDs,
and Hurd.
v4.0 provides much improved support for extending imv's functionality with
shell noscripts. Also added is improved keyboard layout support, hidpi support on
Wayland, native resolution rendering of SVGs at any zoom level, and much more.
I've been working on this release for some time, so I hope you like it. Extensive
refactoring has been undertaken to improve imv in many small ways.
A full list of changes for v4 can be found in the [CHANGELOG](https://github.com/eXeC64/imv/blob/master/CHANGELOG).
Full source available on github and source hut:
- https://github.com/eXeC64/imv
- https://git.sr.ht/~exec64/imv
https://redd.it/cwaoja
@r_linux
Today marks the v4.0 release of [imv](https://github.com/eXeC64/imv): a
minimalistic image viewer with support for dozens of file formats, including
animated gifs and SVG.
For users of Sway, i3, dwm, or other tiling window managers, imv provides a
lightweight way to view almost any image, with customisable key bindings,
auto-reloading, and the ability to run arbitrary shell commands. imv integrates
natively with both X11 and Wayland, allowing users to run a pure Wayland
desktop environment if preferred. It is also portable, running on Linux, BSDs,
and Hurd.
v4.0 provides much improved support for extending imv's functionality with
shell noscripts. Also added is improved keyboard layout support, hidpi support on
Wayland, native resolution rendering of SVGs at any zoom level, and much more.
I've been working on this release for some time, so I hope you like it. Extensive
refactoring has been undertaken to improve imv in many small ways.
A full list of changes for v4 can be found in the [CHANGELOG](https://github.com/eXeC64/imv/blob/master/CHANGELOG).
Full source available on github and source hut:
- https://github.com/eXeC64/imv
- https://git.sr.ht/~exec64/imv
https://redd.it/cwaoja
@r_linux
GitHub
GitHub - eXeC64/imv: Image viewer for X11/Wayland
Image viewer for X11/Wayland. Contribute to eXeC64/imv development by creating an account on GitHub.