]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster-manual: add instructions to create user
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 12 Jul 2016 16:25:05 +0000 (09:25 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jul 2016 14:04:49 +0000 (15:04 +0100)
Creating separate toaster account would make production setup
more isolated and maintainable.

(From yocto-docs rev: 33c638d3e9a68d06d929276c6064d567ed7fe696)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/toaster-manual/toaster-manual-setup-and-use.xml

index 963b2112236d41ac8eee635d074f12f37cfb0f4e..ae59623e655d95b45e55da305f5eeea06f779c8c 100644 (file)
           <para>
               Perform the following steps to install Toaster:
               <orderedlist>
+                  <listitem><para>
+                      Create toaster user and set its home directory to
+                      <filename>/var/www/toaster</filename>.
+                      Change to that home directory:
+    $ sudo /usr/sbin/useradd toaster -md /var/www/toaster -s /bin/false
+    $ sudo su - toaster -s /bin/bash
+                      </literallayout>
+                      </para></listitem>
                   <listitem><para>
                       Checkout a copy of <filename>poky</filename>
                       into the web server directory.
                       You will be using <filename>/var/www/toaster</filename>:
                       <literallayout class='monospaced'>
-   $ mkdir -p /var/www/toaster
-   $ cd /var/www/toaster/
    $ git clone git://git.yoctoproject.org/poky
    $ git checkout &DISTRO_NAME_NO_CAP;
                       </literallayout>