Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

pam-beacon

PAM module for (multi-factor) authentication with Bluetooth Devices & Beacons

Installation

Packages

ArchLinux: install the AUR package pam_beacon-git.

Manually

Make sure you have a working Go environment (Go 1.9 or higher is required). See the install instructions. libpam and its development headers are also required.

$ make deps
$ make
$ sudo make install

Configuration

Create a file named .authorized_beacons in your home directory. Put a single line with the beacon's MAC address in it. For example:

00:11:22:AA:BB:CC

Copy config/pam.d/system-auth-beacon to /etc/pam.d. Include this PAM module wherever you want to require it for authentication, e.g. in /etc/pam.d/system-login:

auth    include     system-auth-beacon

Careful: if your bluetooth beacon isn't discoverable, you will lock yourself out of your system! It's probably a good idea to keep a root-shell open during installation & testing of pam-beacon.

Development

GoDoc Build Status Go ReportCard

About

PAM module for multi-factor authentication with Bluetooth Devices & Beacons

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.