toaster-manual: add instructions to create user

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

(From yocto-docs rev: 50ed20ad881da8d454a520903dadff20c5011fae)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh 2016-07-12 10:23:28 -07:00 committed by Richard Purdie
parent 14194fa66c
commit 4b3c59509c
1 changed files with 1 additions and 2 deletions

View File

@ -244,8 +244,7 @@
<orderedlist>
<listitem><para>
Create toaster user and set its home directory to
<filename>/var/www/toaster</filename>.
Change to that home directory:
<filename>/var/www/toaster</filename>:
<literallayout class='monospaced'>
$ sudo /usr/sbin/useradd toaster -md /var/www/toaster -s /bin/false
$ sudo su - toaster -s /bin/bash