create group users at gid 1000

This commit is contained in:
user1 2023-03-30 00:34:53 +02:00
parent 83c632b318
commit b6dae92276

View file

@ -104,8 +104,8 @@ function standartinstallation() {
function addusers() {
# Erstelle Gruppen
groupid=2000
for wort in wheel audio input power storage video sys optical adm lp scanner sddm kvm fuse autologin network wireshark docker libvirt libvirtdbus; do
groupid=1000
for wort in users wheel audio input power storage video sys optical adm lp scanner sddm kvm fuse autologin network wireshark docker libvirt libvirtdbus; do
if ! cat /etc/group | grep ${wort}; then
while cat /etc/group | grep ${groupid}; do
groupid=$((${groupid} + 1))