Created 08-16-2016 06:52 AM
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.