public static void createUsers(String dirPath, String... userNames) throws IOException {

		File rootDir = new File(dirPath);
		File userFile = new File(rootDir, UserManager.USER_PASSWORD_FILE);

		String[] entries = new String[userNames.length];
		for (int i = 0; i < userNames.length; i++) {
			char[] hash = HashUtilities.getSaltedHash(HashUtilities.SHA256_ALGORITHM,
				"changeme".toCharArray());
			entries[i] = userNames[i] + ":" + (new String(hash)) + ":*";
		}

		writeFile(userFile, entries);
	}
Create KnownUsers file containing the specified list of users.
@param dirPath server root directory
@param userNames list of user names
@throws IOException if there are any exceptions creating users
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/server/remote/ServerTestUtil.java