def node_pwd(): try: pwdtools.change_password(Config.USER) except Exception, e: print e
def root_pwd(): try: pwdtools.change_password("root") except Exception, e: print e