Changeset 76c3eca in clfs-sysroot for BOOK/final-preps/addinguser.xml
- Timestamp:
- Jan 5, 2009, 12:45:16 AM (16 years ago)
- Branches:
- master
- Children:
- 7400ff8
- Parents:
- 9da6c48
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/addinguser.xml
r9da6c48 r76c3eca 22 22 23 23 <screen><userinput>groupadd clfs 24 useradd -s /bin/bash -g clfs -m -k /dev/null clfs</userinput></screen> 24 useradd -s /bin/bash -g clfs -d /home/clfs clfs 25 mkdir -pv /home/clfs 26 chown -v clfs:clfs /home/clfs</userinput></screen> 25 27 26 28 <variablelist> … … 40 42 <para>This option adds user <systemitem class="username">clfs</systemitem> 41 43 to group <systemitem class="groupname">clfs</systemitem>.</para> 42 </listitem>43 </varlistentry>44 45 <varlistentry>46 <term><parameter>-m</parameter></term>47 <listitem>48 <para>This creates a home directory for <systemitem49 class="username">clfs</systemitem>.</para>50 </listitem>51 </varlistentry>52 53 <varlistentry>54 <term><parameter>-k /dev/null</parameter></term>55 <listitem>56 <para>This parameter prevents possible copying of files from a skeleton57 directory (default is <filename class="directory">/etc/skel</filename>)58 by changing the input location to the special null device.</para>59 44 </listitem> 60 45 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.