If you had the user's email address set properly (and the smtp configuration set properly), you could click login in the UI and select forgot password, enter the username and email address, and a new password will be sent to you. If you do not have email setup properly, you will need to manually edit the security.xml file, located in (nexus-basedir)/../sonatype-work/nexus/conf/security.xml. First stop nexus, then open the file, and find the <user> object that has a <id> of admin. Then change the <password> to f865b53623b121fd34ee5426c792e5c33af8c227 . This will give the admin user a password of admin123 (the default) and you will again be able to login.
Maven Nexus admin密码重置方法
最新推荐文章于 2025-11-05 08:36:12 发布
本文介绍了一种在无法通过电子邮件重置Nexus管理员密码的情况下手动编辑security.xml文件的方法,以便将密码设置为默认值admin123。
简单地说,就是将密码换成admin123的加密值即可。

2592

被折叠的 条评论
为什么被折叠?



