[Samba] Login Script Log

basti mailinglist at unix-solution.de
Fri Dec 13 09:50:19 UTC 2019


i have a bit more complex login script. This script add common-shares,
user shares, set some settings on firefox profile and so on.

Sometimes it is working well, sometimes some shares are missing. is
there a simple way to log all the events of the script to a logfile?

like this in bash?


exec 3>&1 4>&2
exec 1>>/root/logfile.log 2>&1

More information about the samba mailing list