Passive DNS

hi,i’m learning “Using Bro for Building Passive DNS Data”, and i encounter the error(Permission denied) in executing these two long command.

BRO_PDNS_DB=mysql://pdns:pdns@localhost/pdns /nsm/bro/share/bro/site/bro-pdns/ serve
BRO_PDNS_DB=mysql://pdns:pdns@localhost/pdns /nsm/bro/share/bro/site/bro-pdns/ process /nsm/bro/logs/current/dns.log

Thanks for your reading ,would you please give me some advice ?

Do you have execute privileges for the python script?

chmod u+x /nsm/bro/share/bro/site/bro-pdns/

Apologies if that’s not the case - I would expect a more descriptive error message or stack trace were that not the cause.