Browse code

Merge "Using sudo in the Quick start section"

Jenkins authored on 2017/02/26 01:02:57
Showing 1 changed files
... ...
@@ -56,15 +56,15 @@ You can quickly create a separate `stack` user to run DevStack with
56 56
 
57 57
 ::
58 58
 
59
-   $ adduser stack
59
+   $ sudo adduser stack
60 60
 
61 61
 Since this user will be making many changes to your system, it should
62 62
 have sudo privileges:
63 63
 
64 64
 ::
65 65
 
66
-    $ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
67
-    $ su stack
66
+    $ sudo tee <<<"stack ALL=(ALL) NOPASSWD: ALL" /etc/sudoers
67
+    $ sudo su - stack
68 68
 
69 69
 Download DevStack
70 70
 -----------------