diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-08 09:48:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-08 09:48:57 +0000 |
commit | 86f97519059c8bcb899d91dbbe67370e518931fe (patch) | |
tree | e6054f4172794c677d9d528966aa6b1c97c897d2 | |
parent | 9f9524838e77883157e0d6a21addcb9543a2652c (diff) |
enable samba usershares
-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 775137c..902857c 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 lpadmin 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 smbshare ; do /usr/bin/gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 done } diff --git a/redcorelive-systemd.sh b/redcorelive-systemd.sh index 012fdd7..73db854 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 lpadmin 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 smbshare ; do gpasswd -a "$liveuser" "$group" > /dev/null 2>&1 done } |