简体   繁体   中英

Apache Archiva set admin account password

I have only ssh access to machine where I need to setup the Archiva. So i wonder have can I create a admin account and set a password to that account.

I found in Archiva API /userService/createAdminUser but still I don't understand how to add a password to the user that will be created by this API request.

Or maybe you can help me with another solution?

The user format is defined here: http://archiva.apache.org/docs/2.0.1/rest-docs-redback-rest-api/el_ns0_user.html (the api accept both json and xml)

NOTE: you won't be able to use this api#method if the admin user already exists!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM