The superadmin user cannot enable

I am importing data from an existing instance and trying to use the superadmin username for some tests.

In the file WEB-INF/xwiki.cfg, I have uncommented the xwiki.superadminpassword=system line and restarted the Tomcat. However, the credentials superadmin and system on the login page do not work.

Other login methods, including active directory, and local users, are working OK, though. So, I have admin permission. Just need the superadmin for testing.

Not sure if I can find out more information from the logs. Or, I will be very grateful for other hints.

Maybe, check the file permissions if it’s a Linux OS.