mirror of
https://github.com/philmmanjaro/alma.git
synced 2026-11-01 14:37:33 +01:00
Allow sudo for wheel, otherwise you're locked out (#62)
This commit is contained in:
1 parent
7bba0c8c5a
commit
b4ecfd3c2a
2 files changed
+2
-1
No files matched your search
@@ -131,6 +131,7 @@ set -eux
|
|||||||
useradd -m ${ALMA_USER}
|
useradd -m ${ALMA_USER}
|
||||||
passwd ${ALMA_USER}
|
passwd ${ALMA_USER}
|
||||||
usermod -G wheel -a ${ALMA_USER}
|
usermod -G wheel -a ${ALMA_USER}
|
||||||
|
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
|
||||||
"""
|
"""
|
||||||
environment_variables = ["ALMA_USER"]
|
environment_variables = ["ALMA_USER"]
|
||||||
```
|
```
|
||||||
|
|||||||
+1
-1
@@ -5,6 +5,6 @@ set -eux
|
|||||||
useradd -m ${ALMA_USER}
|
useradd -m ${ALMA_USER}
|
||||||
passwd ${ALMA_USER}
|
passwd ${ALMA_USER}
|
||||||
usermod -G users,lp,video,network,storage,wheel,audio -a ${ALMA_USER}
|
usermod -G users,lp,video,network,storage,wheel,audio -a ${ALMA_USER}
|
||||||
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/99_wheel
|
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
|
||||||
"""
|
"""
|
||||||
environment_variables = ["ALMA_USER"]
|
environment_variables = ["ALMA_USER"]
|
||||||
Reference in new issue
Block a user