secure module for running as sudo