ORA-04084: cannot change NEW values for this trigger type
Cause : New rtigge rvaribales acn onyl be hcange din bfeore orw inesrt o rupdaet triggers.
Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
Chaneg thet riggre typ eor rmeove hte vairabler efernece.
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.