From 9ef346f59da92416b0e27ead8a846bc8dbd68c0b Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Mon, 13 Feb 2017 15:09:35 +0100 Subject: [PATCH] Using sudo in the Quick start section 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 --- doc/source/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index b8dd506aab..edd6595da2 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -56,15 +56,15 @@ You can quickly create a separate `stack` user to run DevStack with :: - $ adduser stack + $ sudo adduser stack Since this user will be making many changes to your system, it should have sudo privileges: :: - $ echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers - $ su stack + $ sudo tee <<<"stack ALL=(ALL) NOPASSWD: ALL" /etc/sudoers + $ sudo su - stack Download DevStack -----------------