All entries for Saturday 18 November 2006
November 18, 2006
Oracle password
Writing about web page http://www.dizwell.com/dokuwiki/doku.php?id=changingpasswordwithvalues
You can change a user’s password without knowing its values. Then change it back using the hashed values from dba_users
SQL> select username, password from dba_users where username = 'SCOTT';
SQL> alter user scott identified by newpassword;
SQL> alter user scott identified by values 'F894844C34402B67';
I wonder whether the following can be used to hide the password in connection pool configuration file.
Seems not, it is from a top link configuration file.
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<connection-url>jdbc:oracle:thin:@insn104a.idc.oracle.com:1522:ora9idb</connection-url>
<user-name>hr</user-name>
<encrypted-password>62C32F70E98297522AD97E15439FAC0E</encrypted-password>