def create_admin_set_password(self, password):
with open(self.sitedir + '<STR_LIT>', '<STR_LIT:w>') as out:<EOL><INDENT>json.dump({<EOL>'<STR_LIT:name>': '<STR_LIT>',<EOL>'<STR_LIT:email>': '<STR_LIT:none>',<EOL>'<STR_LIT:password>': password,<EOL>'<STR_LIT>': True},<EOL>out)<EOL><DEDENT>self.user_run_script(<EOL>script=scripts.get_script_path('<STR_LIT>'),<EOL>args=[],<EOL>db_links=True,<EOL>ro={<EOL>self.sitedir + '<STR_LIT>': '<STR_LIT>'<EOL>},<EOL>)<EOL>remove(self.sitedir + '<STR_LIT>')<EOL>
create 'admin' account with given password