Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
08-16-2016
06:52 AM
- last edited on
04-21-2026
06:49 AM
by
GrazittiAPI
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
try this as /usr/lib/hue/build/env/bin/hue passwd <username>
run this command as root
Created 08-16-2016 06:58 AM
try this as /usr/lib/hue/build/env/bin/hue passwd <username>
run this command as root
Created 08-16-2016 02:45 PM
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
you can change the ownership of that file by logging in as the user 'hdfs'
Created 08-16-2016 07:11 AM
what error exactly you are getting in shell ??
Created 08-16-2016 02:45 PM
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.