We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a70e3f + 3378b3a commit 88ca6e4Copy full SHA for 88ca6e4
stack.sh
@@ -168,14 +168,12 @@ if [[ $EUID -eq 0 ]]; then
168
# ability to run sudo
169
if [[ "$os_PACKAGE" = "deb" ]]; then
170
dpkg -l sudo || apt_get update && install_package sudo
171
- STACK_GROUP=sudo
172
else
173
rpm -qa | grep sudo || install_package sudo
174
- STACK_GROUP=wheel
175
fi
176
if ! getent passwd stack >/dev/null; then
177
echo "Creating a user called stack"
178
- useradd -U -G $STACK_GROUP -s /bin/bash -d $DEST -m stack
+ useradd -U -s /bin/bash -d $DEST -m stack
179
180
181
echo "Giving stack user passwordless sudo priviledges"
0 commit comments