{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Private Cloud Deployment /
avatar image
0
Question by Dino · Apr 07, 2016 at 07:32 PM · 624 Views ldap16.01password4.16.01

How to reset a lost sysadmin password on Apigee Edge OPDK 16.01?

I have seen the kbarticle about resetting the lost sysadmin password on Apigee Edge OPDK, from @jhunt@apigee.com. The description there says that it applies to "15.01 and newer". However, in OPDK 16.01, I cannot find a chpasswd-system.sh file anywhere in the system.

find /opt/apigee -name chpasswd-system.sh returns nothing.

How can I reset the sys admin password on openldap for Edge 16.01 ?

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by kkalckstein1 · Aug 12, 2016 at 01:33 AM

Unlike with the chpasswd-system.sh script in 15.01 to 15.07, additional steps are needed to also reset the UI password in 16.01.

The Ops guide lists all of them under "Reset System Admin Password":

  1. 1) On the UI node, stop the Edge UI:

    > /opt/apigee/apigee-service/bin/apigee-service edge-ui stop

  2. 2) On the Management Server, run the following command to reset the password:

    > /opt/apigee/apigee-service/bin/apigee-service edge-management-server change_sysadmin_password -o currentPW -n newPW

3) Edit the silent config file that you used to install the Edge UI to set the following properties:

     APIGEE_ADMINPW=newPW
     SMTPHOST=smtp.gmail.com
     SMTPPORT=465
     SMTPUSER=foo@gmail.com
     SMTPPASSWORD=bar
     SMTPSSL=y

Note that you have to include the SMTP properties when passing the new password because all properties on the UI are reset.

  1. 4) Use the apigee-setup utility to reset the password on the Edge UI from the config file:> /<inst_root>/apigee/apigee-setup/bin/setup.sh -p ui -f configFile
  2. 5) Start the Edge UI on the UI node:

    > /<inst_root>/apigee/apigee-service/bin/apigee-service edge-ui start

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Michael Veit · 5 days ago 0
Link

Is there any chance to set the password, if I don't have the silent config file?

I have only some copies somewhere else, and don't want to damage the whole topology just trying to reset the password. I know that some entries (e.g. postgres password) do not match the as-is state...

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Upgrade from 4.17.05 to 4.17.09: java.lang.NoClassDefFoundError: Could not initialize class services.ConfigService$Management 0 Answers

16.01 private cloud validation 1 Answer

can apigee-service apigee-provision setup-org be run headless? 1 Answer

can apigee-service apigee-validate setup-org be run headless? 1 Answer

16.01 "migration" leaves things in old directory structure - what and is it moving later? 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges