Changeset c3b54fac for BOOK


Ignore:
Timestamp:
Apr 14, 2014, 8:39:49 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
2419c576
Parents:
2b54a63
Message:

Cleanup of passwd/group creation

Location:
BOOK
Files:
2 edited

Legend:

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

    r2b54a63 rc3b54fac  
    2929<screen><userinput>cat &gt; ${CLFS}/etc/passwd &lt;&lt; "EOF"
    3030<literal>root::&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
    31 <literal>bin:x:&uid-bin;:&gid-bin;:/dev/null:/bin/false</literal>
    32 <literal>daemon:x:&uid-daemon;:&gid-daemon;:/dev/null:/bin/false</literal>
     31<literal>bin:x:&uid-bin;:&gid-bin;:/bin:/bin/false</literal>
     32<literal>daemon:x:&uid-daemon;:&gid-daemon;:/sbin:/bin/false</literal>
    3333<literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>
    3434<literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
     
    4343    <title>Additional users you may want to add if not already included:</title>
    4444
    45     <varlistentry>
    46       <term><literal>bin:x:&uid-bin;:&gid-bin;:bin:/bin:/bin/false</literal></term>
    47       <listitem>
    48         <para>Can be useful for compatibility with legacy applications.</para>
    49       </listitem>
    50     </varlistentry>
    51     <varlistentry>
    52       <term><literal>daemon:x:&uid-daemon;:&gid-daemon;:daemon:/sbin:/bin/false</literal></term>
    53       <listitem>
    54         <para>It is often recommended to use an unprivileged User ID/Group ID
    55         for daemons to run as, in order to limit their access to the system.</para>
    56       </listitem>
    57     </varlistentry>
    5845    <varlistentry>
    5946      <term><literal>adm:x:&uid-adm;:&gid-adm;:adm:/var/adm:/bin/false</literal></term>
     
    9077      <listitem>
    9178        <para>Generally used as an account that receives all the information of troubles with the mail server</para>
    92       </listitem>
    93     </varlistentry>
    94     <varlistentry>
    95       <term><literal>nobody:x:&uid-nobody;:&gid-nogroup;:nobody:/:/bin/false</literal></term>
    96       <listitem>
    97         <para>Used by NFS</para>
    9879      </listitem>
    9980    </varlistentry>
     
    133114
    134115    <varlistentry>
    135       <term><literal>adm:x:&gid-adm;:root,adm,daemon</literal></term>
    136       <listitem>
    137         <para>All users in this group are allowed to do administrative tasks</para>
    138       </listitem>
    139     </varlistentry>
    140     <varlistentry>
    141116      <term><literal>console:x:&gid-console;:</literal></term>
    142117      <listitem>
     
    151126    </varlistentry>
    152127    <varlistentry>
    153       <term><literal>mail:x:&gid-mail;:mail</literal></term>
    154       <listitem>
    155         <para>Used by MTAs (Mail Transport Agents)</para>
    156       </listitem>
    157     </varlistentry>
    158     <varlistentry>
    159128      <term><literal>news:x:&gid-news;:news</literal></term>
    160129      <listitem>
     
    166135      <listitem>
    167136        <para>The default GID used by shadow for new users</para>
    168       </listitem>
    169     </varlistentry>
    170     <varlistentry>
    171       <term><literal>nogroup:x:&gid-nogroup;:</literal></term>
    172       <listitem>
    173         <para>This is a default group used by some programs that do not
    174         require a group</para>
    175137      </listitem>
    176138    </varlistentry>
  • BOOK/chroot/common/pwdgroup.xml

    r2b54a63 rc3b54fac  
    2828<screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    2929<literal>root:x:&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
    30 <literal>bin:x:&uid-bin;:&gid-bin;:/dev/null:/bin/false</literal>
    31 <literal>daemon:x:&uid-daemon;:&gid-daemon;:/dev/null:/bin/false</literal>
     30<literal>bin:x:&uid-bin;:&gid-bin;:/bin:/bin/false</literal>
     31<literal>daemon:x:&uid-daemon;:&gid-daemon;:/sbin:/bin/false</literal>
    3232<literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>
    3333<literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
Note: See TracChangeset for help on using the changeset viewer.