Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.



Host Image
Host ID: 231

episodes: 3

hpr1468 :: A Whole Lot of Nothing: Chromebook EOL, CentOS WTF, Non Mainstream GNU/Linux Distros and more...

Released on 2014-03-19 under a CC-BY-SA license.

This episode covers a little bit of everything. The end of life for Chromebooks and how that hurts in some ways, hacker public radio topics, CentOS and Red Hat joining, participate with a non mainstream GNU/Linux Distros, and much more.

Here is a brief list of the topics and links covered in this episode:

hpr1457 :: Xubuntu, Kali on EeePc, Markdown Stuff, Pogoplug 4, and more.

Released on 2014-03-04 under a CC-BY-SA license.

This episode is a review of several topics ranging from linux bug community participation, linux installation experiences, hosting services, and blogging using Markdown.

Here is a brief list of the topics covered in this episode:

  • Xubuntu: UEFI support, easy to use, and community driven.
  • Kali Linux on EeePc 1000H, old hardware revived.
  • Blogging in Markdown:,, Mou App, Redmine, Tumblr.
  • Hosting Services and low end VPSs: Arvixe and Prometeus.
  • PogoPlug v4 with Arch linux: simple, cheap and extensible.
  • Gmail webclips: sometimes pretty cool.
  • Check out some music, thanks to


hpr1161 :: PAM Two Factor Auth SSH

Released on 2013-01-14 under a CC-BY-SA license.

Thank you to Broke For Free and for their Creative Commons album Broke For Free: Slam Funk, which was used during this latest show at

Good sources of information for PAM
Overview of PAM Security
  • Definition: Presenting two or more from something you have, something you know, and something you are.
  • Centos /etc/pam.d/
  • Debian /etc/pam.d/ (common-auth exists in Debian and its a system wide security implementation for all pam.d applications)
Google Two Factor Authentication
General Instructions
  • Install git, gcc, and make on your system
    $ apt-get install git make gcc
    $ yum install git make gcc

  • Execute git command as noted on google's site:
    $ git clone
  • Compile and install the google two factor auth PAM module and application
    $ cd google-authenticator/libpam/
    $ make install

  • Add the following lines to the /etc/pam.d/sshd
    auth required

  • Location of SSH server configurations

  • Add/modify the following stanza to SSH server configuration:
    ChallengeResponseAuthentication yes

  • Create Google two factor profile for SSH user and answer the setup questions based off your preferences
    $ google-authenticator

  • Restart SSH server
    $ service ssh restart (on CENTOS try $ service sshd restart)
Wrap Up
  • In Debian based systems you can comment out the system wide common-auth by simply adding a # to the beginning of the @include common-auth.
  • If you want to use google two auth with other applications simply add it to the appropriate /etc/pam.d/ file
  • Other useful PAM modules include the Barada module: libpam-barada (OTP with Android Client), pam_winbind (Samba Active Directory authentication module), and many more.
  • Make sure you have dual SSH connections and are sudo or su as a privileged user. Also make sure any files you configure today are backed up before you edit them.
  • When setting up Two Factor Auth profiles, go into cleanup mode to ensure you don't use the QR code url where it can be later retrieved from your url history. Also make sure you cleanup your command line and clipboard history so that emergency scratch codes and secret keys can't be found by wondering eyes.
Podcasts worth mentioning.

Become a Correspondent