1. Mathematics!

    Thread Starter Senior Member

    Jul 21, 2008
    1,022
    4
    Ok , I have played around with samba setting up file shares / printer shares.
    I have read about integrating samba with active directories.

    We have novell (LDAP) which microsoft created (active directories ) off of.
    We have linux-based machines which can use samba for the equivalent microsoft smb/cifs
    file/printer sharing as well as integrating into active directory/LDAP services.

    But why do we need PAM (plug-able authentication module )?

    I have installed pam and I have /etc/pam.d with a whole bunch of files
    Code ( (Unknown Language)):
    1. atd              common-session                 other     su
    2. chfn             common-session-noninteractive  passwd    sudo
    3. chpasswd         cron                           polkit-1  xscreensaver
    4. chsh             cups                           ppp       zentyal
    5. common-account   login                          quagga
    6. common-auth      lxdm                           samba
    7. common-password  newusers                       sshd
    8.  
    each file has a couple of lines like this
    Code ( (Unknown Language)):
    1.  @include common-passwords
    ...etc

    I am curious their doesn't seem like their is anything to configure?
    Was wondering if with pam I can create virtual users for applications.

    For example I have an ftp server and when I want to add more user accounts to the ftp server. I would normally create a user with adduser. Is their away so I don't create system users but only username / passwords for a application to uses for login in.
    I don't want to create more system users or groups if I can just create some type of virtual user for login to a service.

    Maybe pam is the answer?
    I know their are api to use pam if you are coding an application from scratch but I was wondering if their is away to add users to an already running service like ftp so that you don't have to create system users...
     
Loading...