[Samba] Problem using root preexec
TexasTim
tso465 at airmail.net
Sun Jun 17 22:54:44 GMT 2007
I'm having trouble getting root preexec to work.
The version of Samba I have is an older one (2.2.7) and I can't upgrade it
since I don't want to go to the trouble of getting and compiling the source
code for QNX.
What I really want to do is have our Windows GUI machine be able to execute
scripts on my QNX machine (checking filesystem integrity, untarring software
bundles etc) as QNX scripts (not Dos batch commands). However there doesn't
seem to be any way to have that happen. So instead I want to use the preexec
command to upgrade the software by running a script that will untar an
archive and set file permissions when a 'download' user logs in.
I created a user called 'download' on my machine. I added 'download' to the
smbpassword file. I can easily connect from the Windows machine as the
'download' user.
In my smb.conf file I added the following:
[download]
root preexec /bin/upgradeScript
path = /home/download
But no matter how many times I log in now as 'download' my script is never
executed.
Any ideas of what I am doing wrong?
TIA,
Tim
--
View this message in context: http://www.nabble.com/Problem-using-root-preexec-tf3937613.html#a11167961
Sent from the Samba - General mailing list archive at Nabble.com.
More information about the samba
mailing list