Trying to configure "On-access scanner using preload LIBC library" in ESET File Security.
The manual states:
... to have the On-access scanner to monitor all file system access events immediately after starting the Samba server. Within the Samba daemon initialization script (
/etc/init.d/smb), we would replace the statementdaemon /usr/sbin/smbd $SMBDOPTIONSwith the following line:
LD_PRELOAD=@LIBDIR@/libesets_pac.so daemon /usr/sbin/smbd $SMBDOPTIONS
But I do not have a file /etc/init.d/smb, but there is /etc/init.d/smbd.
Can anyone tell me where to inscribe this line that would LIBC library was launched before the start of samba?