summaryrefslogtreecommitdiffstats
path: root/documentation/toaster-manual
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-07-12 09:25:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-19 15:04:49 +0100
commitf6378c10ef452f3e7744cd3e25657ae402355438 (patch)
tree72286bc07552b36c0a74022f66e38b1b2ad129ab /documentation/toaster-manual
parent444a80a355acf8e3d7a0126506dc6ed65913b039 (diff)
downloadpoky-f6378c10ef452f3e7744cd3e25657ae402355438.tar.gz
toaster-manual: add instructions to create user
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>
Diffstat (limited to 'documentation/toaster-manual')
-rw-r--r--documentation/toaster-manual/toaster-manual-setup-and-use.xml10
1 files 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 963b211223..ae59623e65 100644
--- a/documentation/toaster-manual/toaster-manual-setup-and-use.xml
+++ b/documentation/toaster-manual/toaster-manual-setup-and-use.xml
@@ -234,12 +234,18 @@
234 Perform the following steps to install Toaster: 234 Perform the following steps to install Toaster:
235 <orderedlist> 235 <orderedlist>
236 <listitem><para> 236 <listitem><para>
237 Create toaster user and set its home directory to
238 <filename>/var/www/toaster</filename>.
239 Change to that home directory:
240 $ sudo /usr/sbin/useradd toaster -md /var/www/toaster -s /bin/false
241 $ sudo su - toaster -s /bin/bash
242 </literallayout>
243 </para></listitem>
244 <listitem><para>
237 Checkout a copy of <filename>poky</filename> 245 Checkout a copy of <filename>poky</filename>
238 into the web server directory. 246 into the web server directory.
239 You will be using <filename>/var/www/toaster</filename>: 247 You will be using <filename>/var/www/toaster</filename>:
240 <literallayout class='monospaced'> 248 <literallayout class='monospaced'>
241 $ mkdir -p /var/www/toaster
242 $ cd /var/www/toaster/
243 $ git clone git://git.yoctoproject.org/poky 249 $ git clone git://git.yoctoproject.org/poky
244 $ git checkout &DISTRO_NAME_NO_CAP; 250 $ git checkout &DISTRO_NAME_NO_CAP;
245 </literallayout> 251 </literallayout>