On Friday, January 7, 2022, 12:10:27 p.m. EST, Rowland Penny via samba <samba
at lists.samba.org> wrote:
On Fri, 2022-01-07 at 17:02 +0000, Carl Hunter via samba
wrote:>
> >
>
>
> Maybe what I mean by home folder is confusing things.? I was able to
> test some things on my test system and the following is what seems to
> work.? Again in quotes because I don't know why carriage returns
> aren't working.?
> "samba-tool user create username password
--script-path=logon.cmd"
> "samba-tool group addmembers students username" "mkdir
> /home/username" "chown -R username:students /home/username"
"chmod -R
> o-rx /home/username"
> I was hoping there was a way to have the mkdir, chown and chmod
> command automatically run as part of the other commands.? Is that
> possible??
>
Before we go any further, do you have any Linux users or are all your
client machines running Windows ?
Rowland
No Linux users, Windows only.??
Thanks
Carl