diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-23 14:24:11 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-23 14:24:11 +0900 |
| commit | 199eca46ef76b09b1e5d0c9c96343556d4205c48 (patch) | |
| tree | cfeb697e6885b9928d53eb325c8892a2e29792d4 | |
| parent | 42b42231d0ca68db9aa9ab422ed27f9e90472b29 (diff) | |
Init
| -rwxr-xr-x | public/thesiah.sh | 4 | ||||
| -rwxr-xr-x | static/thesiah.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh index 60be7b9..02fa3ce 100755 --- a/public/thesiah.sh +++ b/public/thesiah.sh @@ -85,8 +85,8 @@ preinstallmsg() { adduserandpass() { # Adds user `$name` with password $pass1. whiptail --infobox "Adding user \"$name\"..." 7 50 - useradd -m -g wheel -s /bin/zsh "$name" >/dev/null 2>&1 || - usermod -a -G wheel "$name" && mkdir -p \ + useradd -m -g wheel -G storage,power,video,audio -s /bin/zsh "$name" >/dev/null 2>&1 || + usermod -a -G wheel,storage,power,video,audio "$name" && mkdir -p \ "/home/$name/.config" \ "/home/$name/.local/bin" \ "/home/$name/.local/share" \ diff --git a/static/thesiah.sh b/static/thesiah.sh index 60be7b9..02fa3ce 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -85,8 +85,8 @@ preinstallmsg() { adduserandpass() { # Adds user `$name` with password $pass1. whiptail --infobox "Adding user \"$name\"..." 7 50 - useradd -m -g wheel -s /bin/zsh "$name" >/dev/null 2>&1 || - usermod -a -G wheel "$name" && mkdir -p \ + useradd -m -g wheel -G storage,power,video,audio -s /bin/zsh "$name" >/dev/null 2>&1 || + usermod -a -G wheel,storage,power,video,audio "$name" && mkdir -p \ "/home/$name/.config" \ "/home/$name/.local/bin" \ "/home/$name/.local/share" \ |
