Changeset 2b3f5219 for chapter08/shadow.xml
- Timestamp:
- 01/04/2022 04:53:09 PM (2 years ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- e7f0fa1
- Parents:
- 7f13657d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/shadow.xml
r7f13657d r2b3f5219 189 189 <filename>/etc/default/useradd</filename> needs to be created and taylored 190 190 to suit your particular needs. Create it with:</para> 191 191 192 <screen><userinput>mkdir -p /etc/default 192 193 useradd -D --gid 999</userinput></screen> … … 199 200 <listitem> 200 201 <para>This parameter sets the beginning of the group numbers used in 201 the /etc/group file. You can modify it to anything you desire. Note 202 that <command>useradd</command> will never reuse a UID or GID. If the 202 the <filename>/etc/group</filename> file. The particular value 999 203 comes from the <parameter>--gid</parameter> parameter above. 204 You can modify it to anything you desire. Note that 205 <command>useradd</command> will never reuse a UID or GID. If the 203 206 number identified in this parameter is used, it will use the next 204 available number after this. Note also that if you don't have a group 205 1000 on your system the first time you use <command>useradd</command> 207 available number after this. Note also that if you don't have a 208 group with an ID equal to this number on your system the first 209 time you use <command>useradd</command> 206 210 without the <parameter>-g</parameter> parameter, you'll get a message 207 211 displayed on the terminal that says: 208 <computeroutput>useradd: unknown GID 1000</computeroutput>. You may 209 disregard this message and group number 1000 will be used.</para> 212 <computeroutput>useradd: unknown GID 999</computeroutput>, although 213 the account is correctly created. That is 214 why we have earlier created the group <parameter>users</parameter> 215 with this group ID.</para> 210 216 </listitem> 211 217 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.