Adding sudo to the example commands in the quick start section.
Also adding '-' as su argument in order to use
the stack user's env (home).
Change-Id: I23ab38104d05c3f4c8d48b55e66cf19dc4e4f90d
| ... | ... |
@@ -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 |
----------------- |