p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.216.202
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/doc/pam-1.1.8/html/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/share/doc/pam-1.1.8/html/sag-overview.html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 3. Overview</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="Linux-PAM_SAG.html" title="The Linux-PAM System Administrators' Guide"><link rel="up" href="Linux-PAM_SAG.html" title="The Linux-PAM System Administrators' Guide"><link rel="prev" href="sag-text-conventions.html" title="Chapter 2. Some comments on the text"><link rel="next" href="sag-configuration.html" title="Chapter 4. The Linux-PAM configuration file"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 3. Overview</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="sag-text-conventions.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="sag-configuration.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="sag-overview"></a>Chapter 3. Overview</h1></div></div></div><p>
      For the uninitiated, we begin by considering an example.  We take an
      application that grants some service to users;
      <span class="command"><strong>login</strong></span> is one such program.
      <span class="command"><strong>Login</strong></span> does two things, it first establishes that
      the requesting user is whom they claim to be and second provides
      them with the requested service: in the case of
      <span class="command"><strong>login</strong></span> the service is a command shell
      (bash, tcsh, zsh, etc.) running with the identity of the user.
    </p><p>
      Traditionally, the former step is achieved by the
      <span class="command"><strong>login</strong></span> application prompting the user for a
      password and then verifying that it agrees with that located on
      the system; hence verifying that as far as the system is concerned
      the user is who they claim to be. This is the task that is delegated
      to <span class="emphasis"><em>Linux-PAM</em></span>.
    </p><p>
      From the perspective of the application programmer (in this case
      the person that wrote the <span class="command"><strong>login</strong></span> application),
      <span class="emphasis"><em>Linux-PAM</em></span> takes care of this
      authentication task -- verifying the identity of the user.
    </p><p>
      The flexibility of <span class="emphasis"><em>Linux-PAM</em></span> is
      that <span class="emphasis"><em>you</em></span>, the system administrator, have
      the freedom to stipulate which authentication scheme is to be
      used. You have the freedom to set the scheme for any/all
      PAM-aware applications on your Linux system. That is, you can
      authenticate from anything as naive as
      <span class="emphasis"><em>simple trust</em></span> (<span class="command"><strong>pam_permit</strong></span>)
      to something as paranoid as a combination of a retinal scan, a
      voice print and a one-time password!
    </p><p>
      To illustrate the flexibility you face, consider the following
      situation: a system administrator (parent) wishes to improve the
      mathematical ability of her users (children). She can configure
      their favorite ``Shoot 'em up game'' (PAM-aware of course) to
      authenticate them with a request for the product of a couple of
      random numbers less than 12. It is clear that if the game is any
      good they will soon learn their
      <span class="emphasis"><em>multiplication tables</em></span>. As they mature, the
      authentication can be upgraded to include (long) division!
    </p><p>
      <span class="emphasis"><em>Linux-PAM</em></span> deals with four
      separate types of (management) task. These are:
      <span class="emphasis"><em>authentication management</em></span>;
      <span class="emphasis"><em>account management</em></span>;
      <span class="emphasis"><em>session management</em></span>; and
      <span class="emphasis"><em>password management</em></span>.
      The association of the preferred management scheme with the behavior
      of an application is made with entries in the relevant
      <span class="emphasis"><em>Linux-PAM</em></span> configuration file.
      The management functions are performed by <span class="emphasis"><em>modules</em></span>
      specified in the configuration file. The syntax for this
      file is discussed in the section
      <a class="link" href="sag-configuration.html" title="Chapter 4. The Linux-PAM configuration file">below</a>.
    </p><p>
      Here is a figure that describes the overall organization of
      <span class="emphasis"><em>Linux-PAM</em></span>:
      </p><pre class="programlisting">
  +----------------+
  | application: X |
  +----------------+       /  +----------+     +================+
  | authentication-[----&gt;--\--] Linux-   |--&lt;--| PAM config file|
  |       +        [----&lt;--/--]   PAM    |     |================|
  |[conversation()][--+    \  |          |     | X auth .. a.so |
  +----------------+  |    /  +-n--n-----+     | X auth .. b.so |
  |                |  |       __|  |           |           _____/
  |  service user  |  A      |     |           |____,-----'
  |                |  |      V     A
  +----------------+  +------|-----|---------+ -----+------+
                         +---u-----u----+    |      |      |
                         |   auth....   |--[ a ]--[ b ]--[ c ]
                         +--------------+
                         |   acct....   |--[ b ]--[ d ]
                         +--------------+
                         |   password   |--[ b ]--[ c ]
                         +--------------+
                         |   session    |--[ e ]--[ c ]
                         +--------------+
      </pre><p>
      By way of explanation, the left of the figure represents the
      application; application X.  Such an application interfaces with the
      <span class="emphasis"><em>Linux-PAM</em></span> library and knows none of
      the specifics of its configured authentication method. The
      <span class="emphasis"><em>Linux-PAM</em></span> library (in the center)
      consults the contents of the PAM configuration file and loads the
      modules that are appropriate for application-X. These modules fall
      into one of four management groups (lower-center) and are stacked in
      the order they appear in the configuration file. These modules, when
      called by <span class="emphasis"><em>Linux-PAM</em></span>, perform the
      various authentication tasks for the application. Textual information,
      required from/or offered to the user, can be exchanged through the
      use of the application-supplied <span class="emphasis"><em>conversation</em></span>
      function.
    </p><p>
      If a program is going to use PAM, then it has to have PAM
      functions explicitly coded into the program. If you have
      access to the source code you can add the appropriate PAM
      functions. If you do not have access to the source code, and
      the binary does not have the PAM functions included, then
      it is not possible to use PAM.
    </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sag-text-conventions.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="sag-configuration.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 2. Some comments on the text </td><td width="20%" align="center"><a accesskey="h" href="Linux-PAM_SAG.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 4. The Linux-PAM configuration file</td></tr></table></div></body></html>
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 20 2023 04:36:09
0 / 0
0755
Linux-PAM_SAG.html
8.979 KB
April 01 2020 03:59:33
0 / 0
0644
sag-author.html
3.036 KB
April 01 2020 03:59:33
0 / 0
0644
sag-configuration-directory.html
2.895 KB
April 01 2020 03:59:32
0 / 0
0644
sag-configuration-example.html
5.391 KB
April 01 2020 03:59:32
0 / 0
0644
sag-configuration-file.html
17.106 KB
April 01 2020 03:59:32
0 / 0
0644
sag-configuration.html
2.991 KB
April 01 2020 03:59:32
0 / 0
0644
sag-copyright.html
3.53 KB
April 01 2020 03:59:33
0 / 0
0644
sag-introduction.html
4.34 KB
April 01 2020 03:59:31
0 / 0
0644
sag-module-reference.html
37.256 KB
April 01 2020 03:59:33
0 / 0
0644
sag-overview.html
7.806 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_access.html
17.544 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_cracklib.html
19.794 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_debug.html
7.896 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_deny.html
4.592 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_echo.html
5.615 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_env.html
11.585 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_exec.html
8.173 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_faildelay.html
4.48 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_filter.html
9.121 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_ftp.html
6.056 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_group.html
9.862 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_issue.html
6.227 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_keyinit.html
6.849 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_lastlog.html
7.893 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_limits.html
17.515 KB
April 01 2020 03:59:32
0 / 0
0644
sag-pam_listfile.html
10.285 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_localuser.html
5.276 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_loginuid.html
5.085 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_mail.html
7.578 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_mkhomedir.html
6.049 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_motd.html
4.189 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_namespace.html
19.795 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_nologin.html
5.205 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_permit.html
4.201 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_pwhistory.html
7.633 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_rhosts.html
6.252 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_rootok.html
4.987 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_securetty.html
6.326 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_selinux.html
8.116 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_shells.html
4.157 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_succeed_if.html
8.938 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_tally.html
13.678 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_tally2.html
14.597 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_time.html
9.495 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_timestamp.html
6.28 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_umask.html
6.168 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_unix.html
14.294 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_userdb.html
8.291 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_warn.html
4.46 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_wheel.html
7.013 KB
April 01 2020 03:59:33
0 / 0
0644
sag-pam_xauth.html
8.221 KB
April 01 2020 03:59:33
0 / 0
0644
sag-security-issues-other.html
2.921 KB
April 01 2020 03:59:32
0 / 0
0644
sag-security-issues-wrong.html
2.892 KB
April 01 2020 03:59:32
0 / 0
0644
sag-security-issues.html
2.108 KB
April 01 2020 03:59:32
0 / 0
0644
sag-see-also.html
2.228 KB
April 01 2020 03:59:33
0 / 0
0644
sag-text-conventions.html
3.11 KB
April 01 2020 03:59:32
0 / 0
0644