# Default Setting Changes in NXRM 3.17.0 Release

**URL:** <https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151>\
**Category:** Sonatype Nexus Repository\
**Tags:** default, settings, password, setup, wizard\
**Created:** [July 9, 2019, 4:37pm UTC](https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151 "2019-07-09T16:37:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkostak](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/bkostak/32/774_2.png) [@bkostak](https://community.sonatype.com/u/bkostak)\
**Post date:** [July 9, 2019, 4:37pm UTC](https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151/1 "2019-07-09T16:37:10Z")

</div>

As part of the 3.17.0 release, we’ve made a few changes to help administrators of new Nexus Repository Manager instances start out on the right foot.

New instances will now generate a random password and save it to the data (e.g. sonatype-work/nexus3) directory, which is a significant change. This will ensure that the first user to access the instance as admin is the instance owner.

 ![SIGN%20IN](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/1X/8d870193fe34a9a59db35c416771dda724c2edd4.png)

After retrieving the password from the file and logging in, the administrator will then be presented with a new on-boarding workflow which will assist them in changing the password.

 ![2](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/1X/70eeb9c8a25a7fb8b2c3223436d14a4e6f70822d.png)

Additionally, the administrator will be prompted to choose whether anonymous access should be enabled.

 ![3](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/1X/a65c117b55c5077fc283e7b324bb2023f558f7a9.png)

For users who wish to deploy instances programmatically, we’ve also added a new REST API endpoint which can be used to set a user’s password. This endpoint could be used by a script to change the admin users password after reading the generated one from the file.

The new admin default settings for Nexus Repository Manager delivers enhanced safety for a secure, single source of truth to store and manage binaries and build artifacts.

---

<div class="post-metadata">

**Author:** ![chitenderkumar.16](https://avatars.discourse-cdn.com/v4/letter/c/9d8465/32.png) [@chitenderkumar.16](https://community.sonatype.com/u/chitenderkumar.16)\
**Post date:** [October 14, 2019, 1:14pm UTC](https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151/2 "2019-10-14T13:14:02Z")

</div>

Hi,

i am trying to deploy the Nexus 3.19 release by using the docker image. post deployment i want to update the admin password programatically. here you mentioned that we can update the admin password by using the rest API post installation. i searched the web, but couldn’t found any example.

it would be great if you can share some examples or direct me to share link which i can explore.

Thanks and regards.

---

<div class="post-metadata">

**Author:** ![jstephens](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jstephens/32/147_2.png) [@jstephens](https://community.sonatype.com/u/jstephens)\
**Post date:** [October 14, 2019, 1:23pm UTC](https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151/3 "2019-10-14T13:23:57Z")

</div>

You will be able to find further documentation in the _API_ documentation (found in the _Administration_ section under _System_ ) of your Nexus Repository Manager instance however I think you can achieve what you want by sending a PUT request to [http://localhost:8081/service/rest/beta/security/users/admin/change-password](http://localhost:8081/service/rest/beta/security/users/admin/change-password) using your admin user credentials (as listed in the file in your (basedir)/sonatype-work/nexus3/admin.password file) for authentication, and passing in the new password in the body of the request

Hope that helps,

Joe

---

<div class="post-metadata">

**Author:** ![mehmetalibaykara](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@mehmetalibaykara](https://community.sonatype.com/u/mehmetalibaykara)\
**Post date:** [April 30, 2020, 2:38pm UTC](https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151/4 "2020-04-30T14:38:11Z")

</div>

Hi,  
is it possible set initial password instead of generated random password. I am starting nexus server as docker container. To automate setup process I should be able to set an initial password by starting the container. Or there is another way of doing this automation ?

Thank you!

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [April 30, 2020, 3:19pm UTC](https://community.sonatype.com/t/default-setting-changes-in-nxrm-3-17-0-release/2151/5 "2020-04-30T15:19:55Z")

</div>

You can also set the “nexus.security.randompassword=false” java system property, that will cause the default admin password to be “admin123”.
