From b10dfa4bd6083e4d9f958497ecc9038b8e3af595 Mon Sep 17 00:00:00 2001 From: Dhruv Mistry <68422844+dhruvmistry2000@users.noreply.github.com> Date: Fri, 20 Sep 2024 19:44:15 +0530 Subject: [PATCH] Adding "valids user" argument in share section (#558) --- core/tabs/system-setup/samba-ssh-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/tabs/system-setup/samba-ssh-setup.sh b/core/tabs/system-setup/samba-ssh-setup.sh index 027fe588..b7b7dfb9 100755 --- a/core/tabs/system-setup/samba-ssh-setup.sh +++ b/core/tabs/system-setup/samba-ssh-setup.sh @@ -126,6 +126,7 @@ setup_samba() { writable = yes guest ok = no read only = no + valid users = $SAMBA_USER EOL fi @@ -202,4 +203,4 @@ setup_ssh_samba(){ checkEnv checkEscalationTool -setup_ssh_samba \ No newline at end of file +setup_ssh_samba