New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Google removed 2 auth files?
Am trying to install Google 2auth on centos but am getting error 404 not found when I try to download the file:
wget https://google-authenticator.googlecode.com/files/libpam-google-authenticator-1.0-source.tar.bz2
Can someone help on this? Where can I find the file to download it?
Thank you.
Comments
https://github.com/google/google-authenticator ?
and how to install it?
I have downloaded, unzipped but when I type "make" am getting this error:
make: *** No targets specified and no makefile found. Stop.
How would you have installed the other one?
It were also just the packed source files...
But I guess this is what you are searching for: https://github.com/google/google-authenticator/blob/master/libpam/README.md
Yeah, you probably didn't
cd
into thelibpam
folder first.Yeah I was also in that folder:
[root@srv libpam]# make
make: *** No targets specified and no makefile found. Stop.
[root@srv libpam]# make install
make: *** No rule to make target `install'. Stop.
[root@srv libpam]# sudo yum make install Loaded plugins: fastestmirror, tsflags, universal-hooks
No such command: make. Please use /usr/bin/yum --help
[root@srv libpam]#
And you did what is written in the README file I posted above and called
bootstrap.sh
first? :Pbash: ./bootstrap.sh: Permission denied
Well - tried it by myself, working just fine:
Guess you can figure out the rest.
Yeah this is how should be but for some reason cant execute the bootstrap.sh. Also tried chmod +x but again same issue.
worked with "sh bootstrap.sh"
Thanks
Then call the command in it yourself:
exec autoreconf -i
Just went through the whole process of installing it and everything works as expected, libraries are installed.
This really sucks lol.
No tutorial like this one to do it?
http://blog.nowherelan.com/2014/01/04/two-step-authentication-for-ssh-on-centos-6-using-google-authenticator/
What's your problem? Can't you just continue with that, but now starting at "Set Up Google Authenticator"?
Cant.
Now I have the same problem with the configure file.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in
/tmp/google- authenticator-master/libpam': configure: error: cannot run C compiled programs. If you meant to cross compile, use
--host'.See `config.log' for more details.
Well then, what does
config.log
tell you?And do you have correctly installed gcc, glibc-devel, make and such?
Come on, I guess this is a problem you and Mr. Google are able so solve on your own. :P
I hate linux. /thread