[Samba] Login Script Log

basti mailinglist at unix-solution.de
Fri Dec 13 10:29:36 UTC 2019



On 13.12.19 11:19, Rowland penny via samba wrote:
> On 13/12/2019 09:50, basti via samba wrote:
>> 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
>>
> This all depends on what the script is written in and where it runs.
> 
> Rowland

It's old school bat / batch.



More information about the samba mailing list