def METHOD_NAME(self, remote=True):
    """
    Create sasl users with password
    """
    for sasl_user, sasl_pwd in eval(self.sasl_user_pwd):
        cmd = "echo %s |%s -p -a libvirt %s" % (sasl_pwd,
                                                self.sasl_pwd_cmd,
                                                sasl_user)
        try:
            if remote:
                self.session = self.get_session()
                self.session.cmd(cmd)
            else:
                process.system(cmd)
        except process.CmdError:
            LOG.error("Failed to set a user's sasl password %s", cmd)