add sudo to locatedb command