Skip to content

A simple PAM module to authenticate users on Linux-based Operating Systems.

Notifications You must be signed in to change notification settings

Tomer-Rubinstein/pam_simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pam_simple

A simple PAM module to authenticate users on Linux-based Operating Systems, via /etc/shadow. The module also supports user banning.

TODO List

Auth Management Group:

  • implement parser for /etc/shadow to extract information such as: username, hash algo, salt, etc. (using <shadow.h>)
  • implement shadow file hashing algorithms w.r.t salt
  • implement pam_sm_authenticate (using the above necessities)

Account Management Group:

  • get path to banned users file from PAM config file and check for existence of username (hence banned)
  • check if password is expired according to /etc/shadow

Installation

Make the following packages are installed on your machine:

$ sudo apt install libpam-dev
$ sudo apt install libssl-dev

Docker and Testing

...

Resources

About

A simple PAM module to authenticate users on Linux-based Operating Systems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published