diff options
-rwxr-xr-x | redcorelive-openrc.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redcorelive-openrc.sh b/redcorelive-openrc.sh index 7ae3ba0..1d4e5af 100755 --- a/redcorelive-openrc.sh +++ b/redcorelive-openrc.sh @@ -19,9 +19,7 @@ addLive() { } liveGroups() { - for group in tty disk lp lpadmin wheel uucp console audio cdrom input tape games video cdrw usb plugdev messagebus portage smbshare ; do - /usr/bin/gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 - done + /usr/sbin/usermod -aG tty,disk,lp,lpadmin,wheel,uucp,console,audio,cdrom,input,tape,games,video,cdrw,usb,plugdev,messagebus,portage,smbshare "$liveuser" > /dev/null 2>&1 } livePasswd() { |