Purchase Linux CDs / DVDs / Flash Drives at OSDisc.com

Welcome to Our Community

While Linux.org has been around for a while, we recently changed management and had to purge most of the content (including users). If you signed up before April 23rd, 2017 please sign up again. Thanks!

  1. More ways to get the info! - we shoot all of our new original content out as well as random messages on Twitter and our newsletter!. Twitter | Newsletter
    Dismiss Notice

HOW TO: Linux PAM authentication

Discussion in 'General Linux' started by fedetask, Dec 4, 2018.

  1. fedetask

    fedetask New Member

    Joined:
    Dec 4, 2018
    Messages:
    3
    Likes Received:
    1
    CptCharis likes this.
  2. Condobloke

    Condobloke Well-Known Member

    Joined:
    Apr 30, 2017
    Messages:
    714
    Likes Received:
    731
    For the uninitiated :

    So, what is Linux PAM?
    PAM (Pluggable Authentication Modules) is a suite of shared libraries that do:

    • Authentication: User provides a proof of authenticity (such as a password)
    • Account management: User is authenticated, but can he access this service?
    • Session management: When user access the service, we must build the environment, and destroy it when he exit
    • Password management: Because never changing a password is not a good idea
     
  3. fedetask

    fedetask New Member

    Joined:
    Dec 4, 2018
    Messages:
    3
    Likes Received:
    1
    Thanks, always better to introduce the argument first, I'll remember
     
  4. Condobloke

    Condobloke Well-Known Member

    Joined:
    Apr 30, 2017
    Messages:
    714
    Likes Received:
    731
    Oh....and I left my manners at the gate !

    G'day fedetask, and Welcome to Linux.org !!!
     
    fedetask and wizardfromoz like this.
  5. fedetask

    fedetask New Member

    Joined:
    Dec 4, 2018
    Messages:
    3
    Likes Received:
    1
    I've written the new tutorial: Writing a PAM module
    It is about what a PAM module should do and it contains some example code
     
    #5 fedetask, Dec 12, 2018
    Last edited: Dec 12, 2018

Share This Page