Difference between revisions of "Google Authenticator"
Jump to navigation
Jump to search
Michael.mast (talk | contribs) |
Michael.mast (talk | contribs) |
||
Line 10: | Line 10: | ||
sed -i 's/user = freerad/user = root/' /etc/raddb/radiusd.conf | sed -i 's/user = freerad/user = root/' /etc/raddb/radiusd.conf | ||
sed -i 's/group = freerad/group - root/' /etc/raddb/radiusd.conf | sed -i 's/group = freerad/group - root/' /etc/raddb/radiusd.conf | ||
+ | nano /etc/raddb/users | ||
+ | <pre> | ||
+ | DEFAULT Group == “GG _ S _ GOOGLE _ AUTH _ DISABLED”, Auth-Type := | ||
+ | Reject | ||
+ | Reply-Message = “Your account has been disabled.” | ||
+ | DEFAULT Auth-Type := PAM | ||
+ | </pre> |
Revision as of 14:25, 13 August 2016
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 nano /etc/raddb/users
DEFAULT Group == “GG _ S _ GOOGLE _ AUTH _ DISABLED”, Auth-Type := Reject Reply-Message = “Your account has been disabled.” DEFAULT Auth-Type := PAM