Implementing preexec

ben at ben at
Thu Oct 16 20:15:08 GMT 1997


	I'm attempting to use preexec.  It appears to never be called.  I have
attempted the same command with postexec and found it works fine in all the
conditions I have attempted with preexec.  Specifically I am using the

preexec = csh -s echo \"%u connected from %I\" >> /tmp/log

	I have placed this in the Global and the Homes section.  The same command
with postexec works without errors in both.

	Can anyone make any recommendations for how to make this work?

Thanks in advance for your help,

Ben Fornshell

Linux 2.0.29
Samba 1.9.17p3

workgroup = IS
  os level = 34
  domain master = yes
  writable = yes
  invalid users = root
  preexec = csh -s echo \"%u connected from %I\" >> /tmp/log
  guest ok = no

More information about the samba mailing list