Difference between revisions of "Google Authenticator"

From Michael's Information Zone
Jump to navigation Jump to search
Line 1: Line 1:
 
https://www.linuxsysadmintutorials.com/setup-sudo-with-google-authenticator-for-2-factor-authentication-on-centos-7.html
 
https://www.linuxsysadmintutorials.com/setup-sudo-with-google-authenticator-for-2-factor-authentication-on-centos-7.html
https://github.com/google/google-authenticator
 
 
  yum install -y git autoconf automake make libtool pam-devel
 
  yum install -y git autoconf automake make libtool pam-devel
 +
git clone https://github.com/google/google-authenticator
 +
cd google-authenticator/libpam
 +
./bootstrap.sh
 +
./configure
 +
./make
 +
./make install
 +
yum install freeradius
 +
sed -i 's/user = freerad/user = root/' /etc/raddb/radiusd.conf
 +
sed -i 's/group = freerad/group - root/' /etc/raddb/radiusd.conf

Revision as of 14:21, 13 August 2016

https://www.linuxsysadmintutorials.com/setup-sudo-with-google-authenticator-for-2-factor-authentication-on-centos-7.html

yum install -y git autoconf automake make libtool pam-devel
git clone https://github.com/google/google-authenticator
cd google-authenticator/libpam
./bootstrap.sh
./configure
./make
./make install
yum install freeradius
sed -i 's/user = freerad/user = root/' /etc/raddb/radiusd.conf
sed -i 's/group = freerad/group - root/' /etc/raddb/radiusd.conf