Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Allow sudo for wheel, otherwise you're locked out (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola authored Nov 23, 2020
1 parent 8c2d7e6 commit 9840388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ set -eux
useradd -m ${ALMA_USER}
passwd ${ALMA_USER}
usermod -G wheel -a ${ALMA_USER}
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
"""
environment_variables = ["ALMA_USER"]
```
Expand Down
1 change: 1 addition & 0 deletions presets/user.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ set -eux
useradd -m ${ALMA_USER}
passwd ${ALMA_USER}
usermod -G wheel -a ${ALMA_USER}
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
"""
environment_variables = ["ALMA_USER"]

0 comments on commit 9840388

Please sign in to comment.