[Samba] Login Script Log

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


Hello,

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?

#
http://serverfault.com/questions/103501/how-can-i-fully-log-all-bash-scripts-actions

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



More information about the samba mailing list