|
Dylan Hogg |
at Sep 24, 2013 at 1:54 am
|
⇧ |
| |
Thanks Philip, using your supplied password hash and salt reset the admin
user password to admin also with the following SQL statement:
scm=> update USERS set
password_hash='ffa2eb4251b38e069e968890cb2bcdb6229982322f5ed2470bf96231fe4c39c8',
password_salt=-4382599614486590865 WHERE user_name = 'admin';
On Friday, 15 June 2012 02:15:51 UTC+10, Philip Zeyliger wrote:You'll have to edit the database directly. The database credentials are
in /etc/cloudera-scm-server/db.properties. You'll need to use "psql -h
localhost -U scm" (or something similar) to access the database. On a test
system of mine, the password "admin" is encoded as follows. (I believe
deleting all entries from the USERS table will also do the trick, leading
you into the default state, but it's best to make a backup of your database
first using pgdump.) I haven't had the opportunity to try this out at the
moment; please do report back on how it works out.
-- Philip
mysql> select * from USERS;
+---------+---------------------------------------------------+------------------------------------------------------------------+----------------------+
USER_ID | USER_NAME |
PASSWORD_HASH |
PASSWORD_SALT |
+---------+---------------------------------------------------+------------------------------------------------------------------+----------------------+
1 | admin |
ffa2eb4251b38e069e968890cb2bcdb6229982322f5ed2470bf96231fe4c39c8 |
-4382599614486590865 |
On Thu, Jun 14, 2012 at 8:01 AM, razor <razor...@gmail.com <javascript:>>wrote:
Hello.
I have test hadoop installation and Cloudera Manager Free Edition.
I didn't use it for a while and forgot admin password.
How can i reset/set a new from shell ?
Regards
razor
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.