For Splunk 7.x.x version and later, try the below.
username = admin
password = The password specified while installation
If you are still unable to login, remove the password file from ****/etc/passwd and reload the enterprise login page and try logging in.
Thanks,
... View more