def setUpClass(cls):
     # TODO: we might want some check to make sure vasclnt is installed before we do the test?
     SecureIPC.regUser = User("max")
     output = cls.computer.run("cat /etc/passwd", True, True)
     if output.find("max:") > -1:
         cls.computer.run("userdel {}".format(SecureIPC.regUser.name))
     # vasUtilities.start_debug(cls.computer)
     cls.computer.useradd(SecureIPC.regUser.name, shell="/bin/bash")
     SecureIPC.regUserComp = login_with_new_user(cls.computer, SecureIPC.regUser.name, SecureIPC.regUser.password)
     # assert SecureIPC.regUserComp.is_connected, "Failed to login with local user 'max'"
     vasUtilities.installVasqa(cls.version, cls.computer)
    def setUpClass(cls):
        # TODO: we might want some check to make sure vasclnt is installed before we do the test
        cls.computer.vastool.configureVas.debug_level(4)
        cls.computer.libexec.confChangeNotification()
        test_tools.regUser = User('max')
        cls.computer.useradd(test_tools.regUser.name, shell='/bin/sh')
        cls.computer.run("tail -100 /var/log/messages")
        test_tools.regUserComp = create_computer_with_hostname(cls.computer.hostname, test_tools.regUser.name, test_tools.regUser.password)

        vasUtilities.installVasqa(cls.version, cls.computer)
        test_tools.Hname = cls.computer.getHostname()
        test_tools.principalName = "{}@{}".format(test_tools.Hname, cls.defaultDomain.domain_upper)