- Timestamp:
- Jun 2, 2017, 10:01:57 PM (7 years ago)
- Branches:
- master, systemd
- Children:
- c96cc3f
- Parents:
- 72d19e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/shadow.xml
r72d19e2 r352dce0 23 23 <title>Installation of Shadow</title> 24 24 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> 30 29 31 30 <screen os="b"><userinput>cp -v src/Makefile.in{,.orig} 32 31 sed -e 's/groups$(EXEEXT) //' \ 33 -e 's/= nologin$(EXEEXT)/= /' \34 32 -e 's/\(^suidu*bins = \).*/\1\\/' \ 35 33 src/Makefile.in.orig > src/Makefile.in</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.