From f6378c10ef452f3e7744cd3e25657ae402355438 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 12 Jul 2016 09:25:05 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/toaster-manual/toaster-manual-setup-and-use.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'documentation/toaster-manual') 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 @@ -233,13 +233,19 @@ Perform the following steps to install Toaster: + + Create toaster user and set its home directory to + /var/www/toaster. + Change to that home directory: + $ sudo /usr/sbin/useradd toaster -md /var/www/toaster -s /bin/false + $ sudo su - toaster -s /bin/bash + + Checkout a copy of poky into the web server directory. You will be using /var/www/toaster: - $ mkdir -p /var/www/toaster - $ cd /var/www/toaster/ $ git clone git://git.yoctoproject.org/poky $ git checkout &DISTRO_NAME_NO_CAP; -- cgit v1.2.3-54-g00ecf