Hi mates I wanted to share this interesting post I found at : http://studyhat.blogspot.com.es/2013...or-fedora.html
I already use 2 step verification for some of my services like dropbox google and other. Although I didt knew that I could implement this services on my own Linux machines.
Here is a how to for Fedora 20. Wich is pretty straight forward. I already done it for my ssh login to my raspberry pi on ARCH.
Im sure for Kubuntu is already a good step to take on.
I already use 2 step verification for some of my services like dropbox google and other. Although I didt knew that I could implement this services on my own Linux machines.
Here is a how to for Fedora 20. Wich is pretty straight forward. I already done it for my ssh login to my raspberry pi on ARCH.
Im sure for Kubuntu is already a good step to take on.
Use google-authenticator for Fedora Login
Install Google Authenticator for Fedora
If you set up 2-step verification using SMS text message or Voice call and also want to be able to generate codes using the Android, iPhone or a Blackberry, you can use the Google Authenticator app to receive codes even if you don’t have an Internet connection or mobile service.
Prerequisite :-
Android Phone.
Barcode scanner.
Google Authenticator App on Phone.
On Laptop as Follow.
[root@localhost rajat]# yum install google-authenticator -y
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package google-authenticator-1.0-0.gita096a62.fc19.1.x86_64 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ================================================== ============
Package Arch Version Repository Size
================================================== ================================================== ============
Installing:
google-authenticator x86_64 1.0-0.gita096a62.fc19.1 fedora 33 k
Transaction Summary
================================================== ================================================== ============
Install 1 Package
Total download size: 28 k
Installed size: 56 k
Downloading Packages:
google-authenticator-1.0-0.gita096a62.fc19.1.x86_64.rpm | 33 kB 00:00:07
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : google-authenticator-1.0-0.gita096a62.fc19.1.x86_64 1/1
Verifying : google-authenticator-1.0-0.gita096a62.fc19.1.x86_64 1/1
Installed:
google-authenticator-1.0-0.gita096a62.fc19.1.x86_64
Complete!
Add line to following file:-
#vi /etc/pam.d/gdm-password
auth required pam_google_authenticator.so
:wq
Save and close CTRL+D (Become as normal user.)
$
once you type your password next screen you get which is google-authenticator
Install Google Authenticator for Fedora
If you set up 2-step verification using SMS text message or Voice call and also want to be able to generate codes using the Android, iPhone or a Blackberry, you can use the Google Authenticator app to receive codes even if you don’t have an Internet connection or mobile service.
Prerequisite :-
Android Phone.
Barcode scanner.
Google Authenticator App on Phone.
On Laptop as Follow.
[root@localhost rajat]# yum install google-authenticator -y
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package google-authenticator-1.0-0.gita096a62.fc19.1.x86_64 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================== ================================================== ============
Package Arch Version Repository Size
================================================== ================================================== ============
Installing:
google-authenticator x86_64 1.0-0.gita096a62.fc19.1 fedora 33 k
Transaction Summary
================================================== ================================================== ============
Install 1 Package
Total download size: 28 k
Installed size: 56 k
Downloading Packages:
google-authenticator-1.0-0.gita096a62.fc19.1.x86_64.rpm | 33 kB 00:00:07
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : google-authenticator-1.0-0.gita096a62.fc19.1.x86_64 1/1
Verifying : google-authenticator-1.0-0.gita096a62.fc19.1.x86_64 1/1
Installed:
google-authenticator-1.0-0.gita096a62.fc19.1.x86_64
Complete!
Add line to following file:-
#vi /etc/pam.d/gdm-password
auth required pam_google_authenticator.so
:wq
Save and close CTRL+D (Become as normal user.)
$
once you type your password next screen you get which is google-authenticator