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
- Access the Cloudera Manager Web UI: Open your web browser and navigate to the Cloudera Manager URL (e.g.,
http://<ClouderaManagerHost>:7180
). - Click on the "Forgot Password" link: Look for the "Forgot Password" link usually located below the login form.
- Enter your username: Enter your Cloudera Manager admin username.
- Check your email: You will receive an email with a password reset link. Click on the link to reset your password.
- 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.
- Confirm your password: Re-enter your new password to confirm.
- 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
- 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
). - Run the
cm-admin-password
command: Execute the following command:cm-admin-password --password <NewPassword>
. Replace<NewPassword>
with your desired new password. - Confirm the password change: You will be prompted to confirm the password change. Enter
yes
to proceed. - 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.