Maven nexus 管理员密码重置

阅读更多

原文链接:http://blog.sina.com.cn/s/blog_76248ee40100ulvw.html

 

 

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 object that has a of admin. Then change the to f865b53623b121fd34ee5426c792e5c33af8c227 . This will give the admin user a password of admin123 (the default) and you will again be able to login.

 
简单地说,就是将密码换成admin123的加密值即可。

你可能感兴趣的:(maven,nexus)