diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-08-30 18:43:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-08-30 18:43:44 +0100 |
commit | 5dcfcbb9490005e6944233f1d435dba150d270af (patch) | |
tree | 21ea1e9a698ae39829a4df52476d24964e454877 | |
parent | 3102b7044fcc3c9862d1de29fb60f1c597826f7d (diff) |
redcore-live : add live user to lpadmin group
-rwxr-xr-x | redcorelive-openrc.sh | 2 | ||||
-rwxr-xr-x | redcorelive-systemd.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/redcorelive-openrc.sh b/redcorelive-openrc.sh index d945482..4edab11 100755 --- a/redcorelive-openrc.sh +++ b/redcorelive-openrc.sh @@ -21,7 +21,7 @@ redcore_add_live_user() { } redcore_live_user_groups() { - for group in tty disk lp wheel uucp console audio cdrom tape kvm cdemu games video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do + for group in tty disk lp lpadmin wheel uucp console audio cdrom tape kvm cdemu games video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do /usr/bin/gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 done } diff --git a/redcorelive-systemd.sh b/redcorelive-systemd.sh index f5f98d0..012fdd7 100755 --- a/redcorelive-systemd.sh +++ b/redcorelive-systemd.sh @@ -21,7 +21,7 @@ redcore_add_live_user() { } redcore_live_user_groups() { - for group in tty disk lp wheel uucp console audio cdrom tape kvm cdemu games video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do + for group in tty disk lp lpadmin wheel uucp console audio cdrom tape kvm cdemu games video vboxsf vboxguest cdrw usb plugdev messagebus portage ; do gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 done } |