Changeset a72db74 for BOOK/final-system


Ignore:
Timestamp:
Jun 2, 2017, 10:02:03 PM (8 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
sysvinit
Children:
b0ebf92
Parents:
f991c3d
git-author:
William Harrington <kb0iic@…> (06/02/17 22:01:57)
git-committer:
William Harrington <kb0iic@…> (06/02/17 22:02:03)
Message:

Shadow nologin should be installed and any remnants of Util-linux nologin should be removed. It is done.

Location:
BOOK/final-system/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/shadow.xml

    rf991c3d ra72db74  
    4040    </note>
    4141
    42     <para os="b">Disable the installation of the <command>groups</command> and
    43     <command>nologin</command> programs and their man pages, as better versions
    44     of these programs are provided by Coreutils and Util-linux:</para>
     42    <para os="b">Disable the installation of the <command>groups</command>
     43    program and man pages, as better versions of these programs are provided by
     44    Coreutils, Util-linux and Man-pages:</para>
    4545
    4646<screen os="c"><userinput>sed -i src/Makefile.in \
    47   -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /'
     47  -e 's/groups$(EXEEXT) //'
    4848find man -name Makefile.in -exec sed -i \
    4949  -e 's/man1\/groups\.1 //' \
    5050  -e 's/man3\/getspnam\.3 //' \
    51   -e 's/man8\/nologin\.8 //' \
    5251  -e 's/man5\/passwd\.5 //' '{}' \;</userinput></screen>
    5352
     
    174173        <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, gpasswd,
    175174        groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv,
    176         lastlog, login, logoutd, newgrp, newusers, passwd, pwck,
     175        lastlog, login, logoutd, newgrp, newusers, nologin, passwd, pwck,
    177176        pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod,
    178177        vigr (link to vipw), vipw</seg>
     
    399398      </varlistentry>
    400399
     400      <varlistentry id="nologin">
     401        <term><command>nologin</command></term>
     402        <listitem>
     403          <para>Displays a message that an account is not available. It is
     404          designed to be used as the default shell for disabled accounts.</para>
     405          <indexterm zone="ch-system-shadow nologin">
     406            <primary sortas="b-nologin">nologin</primary>
     407          </indexterm>
     408        </listitem>
     409      </varlistentry>
     410
    401411      <varlistentry id="passwd">
    402412        <term><command>passwd</command></term>
  • BOOK/final-system/common/util-linux.xml

    rf991c3d ra72db74  
    718718      </varlistentry>
    719719
    720       <varlistentry id="nologin">
    721         <term><command>nologin</command></term>
    722         <listitem>
    723           <para>Displays a message that an account is not available. Designed
    724           to be used as the default shell for accounts that have been
    725           disabled</para>
    726           <indexterm zone="ch-system-util-linux nologin">
    727             <primary sortas="b-nologin">nologin</primary>
    728           </indexterm>
    729         </listitem>
    730       </varlistentry>
    731 
    732720      <varlistentry id="nsenter">
    733721        <term><command>nsenter</command></term>
Note: See TracChangeset for help on using the changeset viewer.