def set_user_password(self, user, new_pass):
        self._domain.setUserPassword(user, new_pass, 0)
Configures a new user password.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py/Guest.set_user_password