- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Hue Password Reset or password change?
- Labels:
-
Apache Hadoop
-
Cloudera Hue
Created 08-16-2016 06:52 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@hdp001 ~]$ /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 06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try this as /usr/lib/hue/build/env/bin/hue passwd <username>
run this command as root
Created 08-16-2016 06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try this as /usr/lib/hue/build/env/bin/hue passwd <username>
run this command as root
Created 08-16-2016 02:45 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 08:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can change the ownership of that file by logging in as the user 'hdfs'
Created 08-16-2016 07:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what error exactly you are getting in shell ??
Created 08-16-2016 02:45 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.