- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Can I disable the default Ambari and Ranger admin user accounts?
- Labels:
-
Apache Ambari
-
Apache Ranger
Created 10-01-2015 03:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to disable the default Ranger and Ambari admin accounts after I have integrated with LDAP and assigned AD users to be admins. Is this possible? The UI does not seem to allow me disable these accounts even if there are other admins identified.
Created 10-01-2015 04:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To disable admin user in Ranger, Gautham had shared the below steps:
- Log in to Ranger Admin using admin/admin
- Go to “Settings” -> “Users/Groups”
- Select one of the external user synced using LDAP( E.g : ldap_admin )
- Change its role to ADMIN
- Click Save
- Log out of Ranger Admin
- Log in to Ranger Admin using the external user (ldap_admin)
- Go to “Settings” -> “Users/Groups”
- Click on the checkbox next to admin user
- Select "Set Status” -> “Disabled” from the top right.
- Log out of Ranger Admin
After this point the default admin user will not be able to login and the new admin will be ldap_admin.
Important Note : You will have to change the following Ambari properties to take note of new admin user
- “Ranger” -> “Configs” -> “Advanced ranger-env”
- admin_username ( This should be the external user that you designated as admin in 2.1 above )
- admin_password ( The password of above user )
Created 10-01-2015 04:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Ambari admin account can be disabled, and if you really like, deleted from the manage ambari users area of the Ambari gui. Of course, you cannot disable it if logged in as admin, you need to log in with another admin account to do it.
Created 10-01-2015 04:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To disable admin user in Ranger, Gautham had shared the below steps:
- Log in to Ranger Admin using admin/admin
- Go to “Settings” -> “Users/Groups”
- Select one of the external user synced using LDAP( E.g : ldap_admin )
- Change its role to ADMIN
- Click Save
- Log out of Ranger Admin
- Log in to Ranger Admin using the external user (ldap_admin)
- Go to “Settings” -> “Users/Groups”
- Click on the checkbox next to admin user
- Select "Set Status” -> “Disabled” from the top right.
- Log out of Ranger Admin
After this point the default admin user will not be able to login and the new admin will be ldap_admin.
Important Note : You will have to change the following Ambari properties to take note of new admin user
- “Ranger” -> “Configs” -> “Advanced ranger-env”
- admin_username ( This should be the external user that you designated as admin in 2.1 above )
- admin_password ( The password of above user )
