Ignore:
Timestamp:
Jun 2, 2017, 10:02:03 PM (7 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/shadow.xml

    rf991c3d ra72db74  
    2323    <title>Installation of Shadow</title>
    2424
    25     <para os="a">Run the following <command>sed</command> command to disable
    26     the installation of the <command>groups</command> and
    27     <command>nologin</command> programs, as better versions of these programs
    28     are provided by other packages, and prevent Shadow from setting the suid
    29     bit on its installed programs:</para>
     25    <para os="a">Disable the installation of the <command>groups</command>
     26    program and man pages, as better versions of these programs are provided by
     27    Coreutils, Util-linux and Man-pages. Also, prevent Shadow from setting the
     28    suid bit on its installed programs:</para>
    3029
    3130<screen os="b"><userinput>cp -v src/Makefile.in{,.orig}
    3231sed -e 's/groups$(EXEEXT) //' \
    33     -e 's/= nologin$(EXEEXT)/= /' \
    3432    -e 's/\(^suidu*bins = \).*/\1\\/' \
    3533    src/Makefile.in.orig &gt; src/Makefile.in</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.