ORA-14402: updating partition key column would cause a partition change
Cause : An UPDATE statement attempted to change the value of a partition key column causing migration of the row to another partition
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Do not attempt to update a partition key column or make sure that the new partition key is within the range containing the old partition key.
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.