From 9806b6e737ca030450225ffe5100e770d4e7c697 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Tue, 5 Feb 2013 22:30:30 -0800 Subject: [PATCH] Give stack user passwordless sudo: This is very helpful when performing automation. Additionally, removed addition of stack user to admin group, since that group does not exist on all systems, and passwordless sudo eliminates the need it was addressing. Change-Id: I727bd51acb920c6c2e66247069998b6ee4267895 --- elements/stackuser/install.d/50-user | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/elements/stackuser/install.d/50-user b/elements/stackuser/install.d/50-user index 872ddb94..b5701f83 100755 --- a/elements/stackuser/install.d/50-user +++ b/elements/stackuser/install.d/50-user @@ -4,9 +4,21 @@ set -e set -o xtrace -useradd -G admin -m stack -s /bin/bash +useradd -m stack -s /bin/bash + passwd stack < /etc/sudoers.d/stack <