Yes, once the createdb script has successfully run, either change the permissions on the file or move it to another directory so somebody doesn't "accidently" run it.