FAQ
Hi
I am trying to install the first Hue admin user from Hue shell but I cant
login on the GUI with the created credentials. What should I do
differently?


create user from Hue shell app -

/opt/mapr/hue/hue*/build/env/bin/hue shell
from django.contrib.auth.models import User
User.objects.create(id=1, username='root', password='mapr')

sanity check -
./build/env/bin/hue dbshell
sqlite> select * from auth_user;

1|root||||mapr|0|1|0|2013-11-12 11:48:50.077588|2013-11-12 11:48:50.077601



Thanks,
Suhas.

To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Search Discussions

  • Suhas Satish at Nov 12, 2013 at 8:32 pm
    I even tried this

    insert into auth_user (id, username, password, first_name, last_name,
    email, is_staff, is_active, is_superuser, last_login, date_joined) values
    (1, 'mapr', 'mapr', 'mapr', 'mapr', 'ssatish@maprtech.com', 'true', 'true',
    'true', DATETIME('now', 'localtime'), DATETIME('now', 'localtime'));


    but I get this on the Hue GUI login page -

    * Error!* Invalid username or password.




    Thanks,
    Suhas.


    On Tue, Nov 12, 2013 at 11:57 AM, Suhas Satish wrote:

    Hi
    I am trying to install the first Hue admin user from Hue shell but I cant
    login on the GUI with the created credentials. What should I do
    differently?


    create user from Hue shell app -

    /opt/mapr/hue/hue*/build/env/bin/hue shell
    from django.contrib.auth.models import User
    User.objects.create(id=1, username='root', password='mapr')

    sanity check -
    ./build/env/bin/hue dbshell
    sqlite> select * from auth_user;

    1|root||||mapr|0|1|0|2013-11-12 11:48:50.077588|2013-11-12 11:48:50.077601



    Thanks,
    Suhas.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Romain Rigaux at Nov 12, 2013 at 9:25 pm
    You need to give a sha1 password or use user.set_password() with a plain
    text password later,

    Romain

    On Tue, Nov 12, 2013 at 12:32 PM, Suhas Satish wrote:

    I even tried this

    insert into auth_user (id, username, password, first_name, last_name,
    email, is_staff, is_active, is_superuser, last_login, date_joined) values
    (1, 'mapr', 'mapr', 'mapr', 'mapr', 'ssatish@maprtech.com', 'true',
    'true', 'true', DATETIME('now', 'localtime'), DATETIME('now', 'localtime'));


    but I get this on the Hue GUI login page -

    * Error!* Invalid username or password.




    Thanks,
    Suhas.


    On Tue, Nov 12, 2013 at 11:57 AM, Suhas Satish wrote:

    Hi
    I am trying to install the first Hue admin user from Hue shell but I cant
    login on the GUI with the created credentials. What should I do
    differently?


    create user from Hue shell app -

    /opt/mapr/hue/hue*/build/env/bin/hue shell
    from django.contrib.auth.models import User
    User.objects.create(id=1, username='root', password='mapr')

    sanity check -
    ./build/env/bin/hue dbshell
    sqlite> select * from auth_user;

    1|root||||mapr|0|1|0|2013-11-12 11:48:50.077588|2013-11-12 11:48:50.077601



    Thanks,
    Suhas.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
  • Suhas Satish at Nov 13, 2013 at 12:31 am
    Thanks a lot. That worked.

    Thanks,
    Suhas.


    On Tue, Nov 12, 2013 at 1:25 PM, Romain Rigaux wrote:

    You need to give a sha1 password or use user.set_password() with a plain
    text password later,

    Romain

    On Tue, Nov 12, 2013 at 12:32 PM, Suhas Satish wrote:

    I even tried this

    insert into auth_user (id, username, password, first_name, last_name,
    email, is_staff, is_active, is_superuser, last_login, date_joined) values
    (1, 'mapr', 'mapr', 'mapr', 'mapr', 'ssatish@maprtech.com', 'true',
    'true', 'true', DATETIME('now', 'localtime'), DATETIME('now', 'localtime'));


    but I get this on the Hue GUI login page -

    * Error!* Invalid username or password.




    Thanks,
    Suhas.


    On Tue, Nov 12, 2013 at 11:57 AM, Suhas Satish wrote:

    Hi
    I am trying to install the first Hue admin user from Hue shell but I
    cant login on the GUI with the created credentials. What should I do
    differently?


    create user from Hue shell app -

    /opt/mapr/hue/hue*/build/env/bin/hue shell
    from django.contrib.auth.models import User
    User.objects.create(id=1, username='root', password='mapr')

    sanity check -
    ./build/env/bin/hue dbshell
    sqlite> select * from auth_user;

    1|root||||mapr|0|1|0|2013-11-12 11:48:50.077588|2013-11-12
    11:48:50.077601



    Thanks,
    Suhas.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to hue-user+unsubscribe@cloudera.org.
    To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphue-user @
categorieshadoop
postedNov 12, '13 at 7:57p
activeNov 13, '13 at 12:31a
posts4
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Suhas Satish: 3 posts Romain Rigaux: 1 post

People

Translate

site design / logo © 2022 Grokbase