Ignore:
Timestamp:
06/01/2015 07:35:45 PM (9 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
1ddddef
Parents:
78b5501
Message:

Move 'other' pam configuration from shadow to pam

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16059 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/linux-pam.xml

    r78b5501 r74f20a1  
    196196    </para>
    197197
    198 <screen role="root"><userinput>rm -rfv /etc/pam.d</userinput></screen>
     198<screen role="root"><userinput>rm -fv /etc/pam.d/*</userinput></screen>
    199199
    200200    <para>
     
    337337
    338338# End /etc/pam.d/system-password</literal>
     339EOF</userinput></screen>
     340 
     341      <para>Now add a restrictive <filename>/etc/pam.d/other</filename>
     342      configuration file.  With this file, programs that are PAM aware will not
     343      run unless a configuration file specifically for that application is
     344      created.</para>
     345
     346<screen role="root"><userinput>cat &gt; /etc/pam.d/other &lt;&lt; "EOF"
     347<literal># Begin /etc/pam.d/other
     348
     349auth        required        pam_warn.so
     350auth        required        pam_deny.so
     351account     required        pam_warn.so
     352account     required        pam_deny.so
     353password    required        pam_warn.so
     354password    required        pam_deny.so
     355session     required        pam_warn.so
     356session     required        pam_deny.so
     357
     358# End /etc/pam.d/other</literal>
    339359EOF</userinput></screen>
    340360
Note: See TracChangeset for help on using the changeset viewer.