Creating separate toaster account would make production setup more
isolated and maintainable.

Signed-off-by: Ed Bartosh <[email protected]>
---
 documentation/toaster-manual/toaster-manual-setup-and-use.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/documentation/toaster-manual/toaster-manual-setup-and-use.xml 
b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
index 2e085a2..4349eb1 100644
--- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml
+++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
@@ -241,12 +241,18 @@
               Perform the following steps to install Toaster:
               <orderedlist>
                   <listitem><para>
+                      Create toaster user, set its home directory to 
/var/www/toaster and switch to it:
+                      <literallayout class='monospaced'>
+   $ sudo /usr/sbin/useradd toaster -d /var/www/toaster -s /bin/false
+   $ sudo mkdir /var/www/toaster
+   $ 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>
-- 
2.6.6

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to