devmonkZA / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Request: Google Authenticator PAM module #187

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be possible to have shellinabox to work with 
http://code.google.com/p/google-authenticator/

Thanks for the hard work :)

Original issue reported on code.google.com by stefano....@gmail.com on 8 May 2012 at 11:07

GoogleCodeExporter commented 8 years ago
Its working with shellinabox,
add the line

auth       required     pam_google_authenticator.so

in the file "/etc/pam.d/remote"

Original comment by roi...@gmail.com on 24 Nov 2012 at 7:11

GoogleCodeExporter commented 8 years ago
This isn't how 2.14 sources read.

What I see in sources is that by default it logs in through login(1).
Otherwise there is an option --disable-login, which makes it to log in through 
ssh.
There is also some notion of pam login as "shellinabox" service, but it isn't 
clear how to activate it.

My suggestion: login type should be configurable through configure script 
options. Should be an option like:
--login-type=(login|ssh|pam) If 'pam' is selected it should make it login 
through pam service "shellinabox".

Original comment by yuriv...@gmail.com on 14 Sep 2013 at 1:20