A2oz

How do I reset my Cloudera Manager admin password?

Published in Cloudera Manager 2 mins read

You can reset your Cloudera Manager admin password through the web interface or using the command line.

Resetting the Admin Password Through the Web Interface

  1. Access the Cloudera Manager Web UI: Open your web browser and navigate to the Cloudera Manager URL (e.g., http://<ClouderaManagerHost>:7180).
  2. Click on the "Forgot Password" link: Look for the "Forgot Password" link usually located below the login form.
  3. Enter your username: Enter your Cloudera Manager admin username.
  4. Check your email: You will receive an email with a password reset link. Click on the link to reset your password.
  5. Enter a new password: You will be redirected to a page where you can enter your new password. Make sure it meets the password complexity requirements.
  6. Confirm your password: Re-enter your new password to confirm.
  7. Log in with your new password: Once you have successfully reset your password, you can log in to Cloudera Manager using your new credentials.

Resetting the Admin Password Using the Command Line

  1. Log in to the Cloudera Manager server: Use SSH to log in to the server hosting Cloudera Manager as the Cloudera Manager user (usually cm_admin).
  2. Run the cm-admin-password command: Execute the following command: cm-admin-password --password <NewPassword>. Replace <NewPassword> with your desired new password.
  3. Confirm the password change: You will be prompted to confirm the password change. Enter yes to proceed.
  4. Restart Cloudera Manager: Restart Cloudera Manager for the changes to take effect. You can use the command cm-service restart.

Practical Insights

  • Password Complexity: Cloudera Manager enforces password complexity requirements. Ensure your new password meets these requirements to avoid issues.
  • Email Access: You need access to the email address associated with your Cloudera Manager account to reset your password through the web interface.
  • Server Access: You need access to the Cloudera Manager server to reset your password using the command line.

Related Articles