Changeset 1e1b3d6 for x/dm


Ignore:
Timestamp:
11/02/2016 01:10:20 AM (7 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
702fed4
Parents:
b2d0e3d
Message:

LXDM - use system PAM configuration and install unit file on systemd.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/dm/lxdm.xml

    rb2d0e3d r1e1b3d6  
    111111
    112112<screen><userinput>cat &gt; pam/lxdm &lt;&lt; "EOF" &amp;&amp;
    113 <literal>#%PAM-1.0
    114 auth        required    pam_unix.so
    115 auth        requisite   pam_nologin.so
    116 account     required    pam_unix.so
    117 password    required    pam_unix.so
    118 session     required    pam_unix.so</literal>
     113<literal># Begin /etc/pam.d/lxdm
     114
     115auth     requisite      pam_nologin.so
     116auth     required       pam_env.so
     117auth     include        system-auth
     118
     119account  include        system-account
     120
     121password include        system-password
     122
     123session  required       pam_limits.so
     124session  include        system-session
     125
     126# End /etc/pam.d/lxdm</literal>
    119127EOF
    120128
     
    140148<screen revision="systemd"><userinput>./configure --prefix=/usr     \
    141149            --sysconfdir=/etc \
    142             --with-pam        &amp;&amp;
     150            --with-pam        \
     151            --with-systemdsystemunitdir=/lib/systemd/system &amp;&amp;
    143152make</userinput></screen>
    144153
     
    216225      <title>Boot Script</title>
    217226
    218       <para>
     227      <para revision="sysv">
    219228        Install the <filename>/etc/rc.d/init.d/lxdm</filename> init script from
    220         the <xref linkend="bootscripts" revision="sysv"/>
    221         <xref linkend="systemd-units" revision="systemd"/> package.
     229        the <xref linkend="bootscripts"/> package.
     230      </para>
     231
     232      <para revision="systemd">
     233        To start <application>LXDM</application> at boot execute the following
     234        command as the <systemitem class="username">root</systemitem> user:
    222235      </para>
    223236
     
    226239      </indexterm>
    227240
    228 <screen role="root"><userinput>make install-lxdm</userinput></screen>
     241<screen role="root" revision="sysv"><userinput>make install-lxdm</userinput></screen>
     242<screen role="root" revision="systemd"><userinput>systemctl enable lxdm.service</userinput></screen>
    229243
    230244    </sect3>
Note: See TracChangeset for help on using the changeset viewer.