mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-12-07 03:39:21 +01:00
[presets] misc fixes
- update user module not to ask for a password - ALMA_USER_PASSWORD env variable added - update steam module - update base module
This commit is contained in:
@@ -2,9 +2,8 @@ packages = ["sudo"]
|
||||
script = """
|
||||
set -eux
|
||||
|
||||
useradd -m ${ALMA_USER}
|
||||
passwd ${ALMA_USER}
|
||||
useradd -m ${ALMA_USER} -p $(openssl passwd -6 ${ALMA_USER_PASSWORD})
|
||||
usermod -G users,lp,video,network,storage,wheel,audio -a ${ALMA_USER}
|
||||
echo "%wheel ALL=(ALL) ALL" > /etc/sudoers.d/wheel
|
||||
"""
|
||||
environment_variables = ["ALMA_USER"]
|
||||
environment_variables = ["ALMA_USER", "ALMA_USER_PASSWORD"]
|
||||
|
||||
Reference in New Issue
Block a user