Skip to content

Commit f540e96

Browse files
chore(controller): No sudo for deis
The deis user does not need sudo
1 parent 0dc6819 commit f540e96

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

controller/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ apt-get update && \
2121
# install pip
2222
curl -sSL https://raw.githubusercontent.com/pypa/pip/1.5.6/contrib/get-pip.py | python -
2323

24-
# add a deis user that has passwordless sudo (for now)
25-
useradd deis --groups sudo --home-dir /app --shell /bin/bash
26-
sed -i -e 's/%sudo\tALL=(ALL:ALL) ALL/%sudo\tALL=(ALL:ALL) NOPASSWD:ALL/' /etc/sudoers
24+
# add a deis user
25+
useradd deis --home-dir /app --shell /bin/bash
2726

2827
# create a /app directory for storing application data
2928
mkdir -p /app && chown -R deis:deis /app

0 commit comments

Comments
 (0)