ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satyanarayana Jampa <>
Subject RE: Do we have API for change password
Date Tue, 22 Mar 2016 04:24:31 GMT
Can we get the HTTP response code in this?

From: Dmitry Sen []
Sent: 21 March 2016 20:02
Subject: Re: Do we have API for change password

It works for me:

curl -i -u admin:admin  '' -X PUT -H 'X-Requested-By:
ambari' --data-binary '{"Users/password":"newpasswd","Users/old_password":"admin"}'


Dmytro Sen

From: Satyanarayana Jampa <<>>
Sent: Monday, March 21, 2016 7:59 AM
Subject: Do we have API for change password

  Just wondering if we have an API to change the Ambari password, instead of logging in and
changing the password.
  Actually I have a custom script which will take username and password as argument which
I have to use it for configuration before installing Ambari.


View raw message