13

Just installed Nexus 3.0.0-03, started up, followed the doc, but can't login with default admin/admin123.

The only error I can see is the login refusal message:Incorrect username or password, or no permission to use the application.

coolnodje
  • 789
  • 1
  • 7
  • 20

4 Answers4

21

user name is admin

There is password in /nexus-data/admin.password path in your nexus host.

cat /nexus-data/admin.password

you must change your password at first login

also If you implement nexus through docker, you should use command below:

docker exec -it <container_name_or_ID> cat /nexus-data/admin.password

Mohammad Ravanbakhsh
  • 2,244
  • 1
  • 15
  • 26
9

You cannot create another admin user via configuration (without going deep down the rabbit hole), the initial user admin/admin123 should work.

miken32
  • 42,008
  • 16
  • 111
  • 154
DarthHater
  • 3,222
  • 25
  • 26
1

Faced the same problem.

Steps I took to resolve it:

  1. Open the admin.password file inside sonatype-work>nexus3 and copy it's contents.
  2. Paste the copied value from step 1(from the admin.password file) into the password field. Enter 'admin' for the username.
-1

Look into location:

/home/[yourHomeDirName]/sonatype-work/nexus3/admin.password
John Friday
  • 115
  • 1
  • 10