set db to template1 for revoking access