ORA-14086: a partitioned index may not be rebuilt as a whole
Cause : User attempted to rebuild a partitioned index using ALTER INDEX REBUILD statement, which is illegal
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Rebuild the index a partition at a time (using ALTER INDEX REBUILD PARTITION) or drop and recreate the entire index
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.