- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
how to change HUE user password ?
- Labels:
-
Apache Hadoop
-
Cloudera Hue
Created 08-13-2016 06:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change of password generally is allow through
- a)HUE -> Profile (Access denied)
- b)Typing in /usr/lib/hue/build/env/bin/hue password in linux
/usr/lib/hue/build/env/bin/hue password
Failed to create log directory "logs": [Errno 13] Permission denied: 'logs'
Traceback (most recent call last):
File "/usr/lib/hue/build/env/bin/hue", line 9, in <module>
load_entry_point('desktop==2.6.1', 'console_scripts', 'hue')()
File "/usr/lib/hue/desktop/core/src/desktop/manage_entry.py", line 41, in entry
from desktop import settings, appmanager
File "/usr/lib/hue/desktop/core/src/desktop/settings.py", line 52, in <module>
desktop.log.basic_logging(os.environ[ENV_HUE_PROCESS_NAME])
File "/usr/lib/hue/desktop/core/src/desktop/log/__init__.py", line 117, in basic_logging
raise err
OSError: [Errno 13] Permission denied: 'logs'
However both options seem to be denied access to
Created 08-15-2016 04:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try this with root user if above command doesn't work,
python /usr/lib/hue/build/env/bin/hue changepassword -v 2 <user Name>
just FYI, Users can't change their password.
Created 08-14-2016 06:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see you are using password as an arugment to hue binary
/usr/lib/hue/build/env/bin/hue password
I believe its passwd instead of password. Can you please try below command as hue user and let me know?
/usr/lib/hue/build/env/bin/hue passwd
Created 08-14-2016 07:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Failed to create log directory "logs": [Errno 13] Permission denied: 'logs'
You don't have write permissions to the logs directory. Give this user "write permissions" so it is able to write to logs folder. Or you'll probably need to ask HUE admin to do this for you.
Created 08-15-2016 03:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@kuldeep kulkarni
Can the Hue admin reset the password and then the user change it once they login ?
Created 08-15-2016 04:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try this with root user if above command doesn't work,
python /usr/lib/hue/build/env/bin/hue changepassword -v 2 <user Name>
just FYI, Users can't change their password.
Created 08-16-2016 02:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1)python /usr/lib/hue/build/env/bin/hue changepassword -v 2 <user Name>
2)/usr/lib/hue/build/env/bin/hue changepasswd <user Name>
The first option as root works fine.
The second option (/usr/lib/hue/build/env/bin/hue passwd kishore) works as well, but ends up throwing an error, after changing the password. I can see that the password entered persists to Hue whenever logging in with that user.
TypeError: argument 1 must be string or read-only character buffer, not tuple
As my user, I cannot change my password. So this is expected, and sudo / root access is required? Now I receive this error: IOError: [Errno 13] Permission denied: '/home/mannb/logs/passwd.log'
A “logs” directory was created, but owned by root under my home directory.
Created 08-16-2016 05:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When running /usr/lib/hue/build/env/bin/hue passwd, I receive the error myself. The directory /var/log/hue is owned by hue, and when running as this account:
[hue@mdzusvpclhdp001 ~]$ /usr/lib/hue/build/env/bin/hue passwd
Changing password for user hue
Password: Traceback (most recent call last):
It will ask to change the password for the user, hue, or whichever user runs it. I even changed permissions on /var/log/hue to 777, and received the same error when trying this as my user.
Created 08-16-2016 02:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1)python /usr/lib/hue/build/env/bin/hue changepassword -v 2 <user Name>
2)/usr/lib/hue/build/env/bin/hue changepasswd <user Name>
The first option as root works fine.
The second option (/usr/lib/hue/build/env/bin/hue passwd kishore) works as well, but ends up throwing an error, after changing the password. I can see that the password entered persists to Hue whenever logging in with that user.
TypeError: argument 1 must be string or read-only character buffer, not tuple
As my user, I cannot change my password. So this is expected, and sudo / root access is required? Now I receive this error: IOError: [Errno 13] Permission denied: '/home/mannb/logs/passwd.log'
A “logs” directory was created, but owned by root under my home directory.
