Browse code

Do not ask users to overwrite their /etc/sudoers file

Give instructions to add permissions for stack user without touching
main config.

Closes-Bug: #1680459
Closes-Bug: #1681418
Change-Id: Idd27e684e63c616466de28c07551729a1e091bdd

Cyril Roelandt authored on 2017/04/06 22:23:13
Showing 1 changed files
... ...
@@ -63,7 +63,7 @@ have sudo privileges:
63 63
 
64 64
 ::
65 65
 
66
-    $ sudo tee <<<"stack ALL=(ALL) NOPASSWD: ALL" /etc/sudoers
66
+    $ echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack
67 67
     $ sudo su - stack
68 68
 
69 69
 Download DevStack