mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-20 04:09:21 +01:00
Update users so all acl tests pass
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10546 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b17411e849
commit
030875a8e3
@ -38,6 +38,10 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>2014-03-22</para>
|
<para>2014-03-22</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[bdubbs] - Update users so all acl tests pass. Fixes
|
||||||
|
<ulink url="&lfs-ticket-root;3548">#3548</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[krejzi] - Fix a segfault in shuf program from
|
<para>[krejzi] - Fix a segfault in shuf program from
|
||||||
Coreutils. Fixes
|
Coreutils. Fixes
|
||||||
|
@ -66,6 +66,7 @@ ln -sv bash /bin/sh</userinput></screen>
|
|||||||
<screen><userinput>cat > /etc/passwd << "EOF"
|
<screen><userinput>cat > /etc/passwd << "EOF"
|
||||||
<literal>root:x:0:0:root:/root:/bin/bash
|
<literal>root:x:0:0:root:/root:/bin/bash
|
||||||
bin:x:1:1:bin:/dev/null:/bin/false
|
bin:x:1:1:bin:/dev/null:/bin/false
|
||||||
|
daemon:x:6:6:Daemon User:/dev/null:/bin/false
|
||||||
messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
|
messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
|
||||||
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal>
|
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
@ -78,7 +79,7 @@ EOF</userinput></screen>
|
|||||||
|
|
||||||
<screen><userinput>cat > /etc/group << "EOF"
|
<screen><userinput>cat > /etc/group << "EOF"
|
||||||
<literal>root:x:0:
|
<literal>root:x:0:
|
||||||
bin:x:1:
|
bin:x:1:daemon
|
||||||
sys:x:2:
|
sys:x:2:
|
||||||
kmem:x:3:
|
kmem:x:3:
|
||||||
tape:x:4:
|
tape:x:4:
|
||||||
@ -97,13 +98,15 @@ adm:x:16:
|
|||||||
messagebus:x:18:
|
messagebus:x:18:
|
||||||
systemd-journal:x:23:
|
systemd-journal:x:23:
|
||||||
mail:x:34:
|
mail:x:34:
|
||||||
nogroup:x:99:</literal>
|
nogroup:x:99:
|
||||||
|
users:x:999:</literal>
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<para>The created groups are not part of any standard—they are groups
|
<para>The created groups are not part of any standard—they are groups
|
||||||
decided on in part by the requirements of the Udev configuration in this
|
decided on in part by the requirements of the Udev configuration in this
|
||||||
chapter, and in part by common convention employed by a number of existing
|
chapter, and in part by common convention employed by a number of existing
|
||||||
Linux distributions. The Linux Standard Base (LSB, available at <ulink
|
Linux distributions. In addition, some test suites rely on specific users
|
||||||
|
or groups. The Linux Standard Base (LSB, available at <ulink
|
||||||
url="http://www.linuxbase.org"/>) recommends only that, besides the group
|
url="http://www.linuxbase.org"/>) recommends only that, besides the group
|
||||||
<systemitem class="groupname">root</systemitem> with a Group ID (GID) of 0,
|
<systemitem class="groupname">root</systemitem> with a Group ID (GID) of 0,
|
||||||
a group <systemitem class="groupname">bin</systemitem> with a GID of 1 be
|
a group <systemitem class="groupname">bin</systemitem> with a GID of 1 be
|
||||||
|
@ -72,6 +72,11 @@ find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;</userinput></scr
|
|||||||
<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
|
<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
<para>Make a minor change to make the default useradd consistent with the LFS
|
||||||
|
groups file:</para>
|
||||||
|
|
||||||
|
<screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen>
|
||||||
|
|
||||||
<para>Prepare Shadow for compilation:</para>
|
<para>Prepare Shadow for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --sysconfdir=/etc</userinput></screen>
|
<screen><userinput remap="configure">./configure --sysconfdir=/etc</userinput></screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user