FAQ
I'm installing and managing Cloudera Manager with Chef and the CM API.
However, we need to be able to secure the cluster beyond the default
admin:admin username and password. Is there any programmatic way,
preferably with the API or a config file, to change the default
username/password?

Thanks,
Tejay Cardon

Search Discussions

  • Marcelo Vanzin at Jul 2, 2013 at 4:36 pm
    Hi Tejay,

    The API has had support for updating user information since the first
    version. Check out the documentation:
    http://cloudera.github.io/cm_api/apidocs/v1/path__users_-userName-.html#PUT


    Any user can update their own password, so you should be able to
    update the admin's password by using the default admin/admin
    credentials to make the API call.
    On Tue, Jul 2, 2013 at 9:27 AM, Tejay Cardon wrote:
    I'm installing and managing Cloudera Manager with Chef and the CM API.
    However, we need to be able to secure the cluster beyond the default
    admin:admin username and password. Is there any programmatic way,
    preferably with the API or a config file, to change the default
    username/password?

    Thanks,
    Tejay Cardon


    --
    Marcelo
  • Tejay Cardon at Jul 2, 2013 at 4:52 pm
    Ok, that would let me update the admin user's password. It would also let
    me create a new user and give that user admin credentials. What would
    happen if I then removed the admin user? Is that supported by CM, or does
    the admin user have to continue to live?

    On Tue, Jul 2, 2013 at 10:36 AM, Marcelo Vanzin wrote:

    Hi Tejay,

    The API has had support for updating user information since the first
    version. Check out the documentation:
    http://cloudera.github.io/cm_api/apidocs/v1/path__users_-userName-.html#PUT


    Any user can update their own password, so you should be able to
    update the admin's password by using the default admin/admin
    credentials to make the API call.
    On Tue, Jul 2, 2013 at 9:27 AM, Tejay Cardon wrote:
    I'm installing and managing Cloudera Manager with Chef and the CM API.
    However, we need to be able to secure the cluster beyond the default
    admin:admin username and password. Is there any programmatic way,
    preferably with the API or a config file, to change the default
    username/password?

    Thanks,
    Tejay Cardon


    --
    Marcelo
  • Marcelo Vanzin at Jul 2, 2013 at 5:09 pm
    Users are not allowed to delete themselves, but if you create a second
    admin user as you say, you should be able to use it to delete the
    default "admin" user.
    On Tue, Jul 2, 2013 at 9:52 AM, Tejay Cardon wrote:
    Ok, that would let me update the admin user's password. It would also let
    me create a new user and give that user admin credentials. What would
    happen if I then removed the admin user? Is that supported by CM, or does
    the admin user have to continue to live?

    On Tue, Jul 2, 2013 at 10:36 AM, Marcelo Vanzin wrote:

    Hi Tejay,

    The API has had support for updating user information since the first
    version. Check out the documentation:

    http://cloudera.github.io/cm_api/apidocs/v1/path__users_-userName-.html#PUT


    Any user can update their own password, so you should be able to
    update the admin's password by using the default admin/admin
    credentials to make the API call.
  • Tejay Cardon at Jul 2, 2013 at 5:09 pm
    Great, thanks Marcelo.

    On Tue, Jul 2, 2013 at 11:02 AM, Marcelo Vanzin wrote:

    Users are not allowed to delete themselves, but if you create a second
    admin user as you say, you should be able to use it to delete the
    default "admin" user.
    On Tue, Jul 2, 2013 at 9:52 AM, Tejay Cardon wrote:
    Ok, that would let me update the admin user's password. It would also let
    me create a new user and give that user admin credentials. What would
    happen if I then removed the admin user? Is that supported by CM, or does
    the admin user have to continue to live?

    On Tue, Jul 2, 2013 at 10:36 AM, Marcelo Vanzin wrote:

    Hi Tejay,

    The API has had support for updating user information since the first
    version. Check out the documentation:
    http://cloudera.github.io/cm_api/apidocs/v1/path__users_-userName-.html#PUT

    Any user can update their own password, so you should be able to
    update the admin's password by using the default admin/admin
    credentials to make the API call.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJul 2, '13 at 4:27p
activeJul 2, '13 at 5:09p
posts5
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Tejay Cardon: 3 posts Marcelo Vanzin: 2 posts

People

Translate

site design / logo © 2022 Grokbase