- Timestamp:
- Apr 14, 2014, 8:39:49 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 2419c576
- Parents:
- 2b54a63
- Location:
- BOOK
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/pwdgroup.xml
r2b54a63 rc3b54fac 29 29 <screen><userinput>cat > ${CLFS}/etc/passwd << "EOF" 30 30 <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> 33 33 <literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal> 34 34 <literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal> … … 43 43 <title>Additional users you may want to add if not already included:</title> 44 44 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 ID55 for daemons to run as, in order to limit their access to the system.</para>56 </listitem>57 </varlistentry>58 45 <varlistentry> 59 46 <term><literal>adm:x:&uid-adm;:&gid-adm;:adm:/var/adm:/bin/false</literal></term> … … 90 77 <listitem> 91 78 <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>98 79 </listitem> 99 80 </varlistentry> … … 133 114 134 115 <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>141 116 <term><literal>console:x:&gid-console;:</literal></term> 142 117 <listitem> … … 151 126 </varlistentry> 152 127 <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>159 128 <term><literal>news:x:&gid-news;:news</literal></term> 160 129 <listitem> … … 166 135 <listitem> 167 136 <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 not174 require a group</para>175 137 </listitem> 176 138 </varlistentry> -
BOOK/chroot/common/pwdgroup.xml
r2b54a63 rc3b54fac 28 28 <screen><userinput>cat > /etc/passwd << "EOF" 29 29 <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> 32 32 <literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal> 33 33 <literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
Note:
See TracChangeset
for help on using the changeset viewer.