Preexec and multiple commands

Robert Jonsson robert.jonsson at statsvet.su.se
Tue Oct 19 18:21:29 GMT 1999


Hi,

I am trying to create two directories using the preexec command but I must
be missing something very simple. I just can´t figure out the syntax. How
would I continue this so that I could create dir2?

preexec = if [ ! -e /home/%U/dir1] then /bin/mkdir /home/%U/dir1; fi

Regards

Robert
----------------------------------------------------------



More information about the samba mailing list