# sqlplus james@xyz
SQL*Plus: Release 11.2.0.3.0 Production on Mon Feb 3 15:33:00 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-28001: the password has expired
Changing password for james
New password:
Retype new password:
ERROR:
ORA-01017: invalid username/password; logon denied
Password unchanged
Reason: SQL Client version is not matching with Database version. Might be you are using 10g client when connection to 11g database or vice versa.
Solution: Upgrade or Downgrade SQL Client that match your database or Upgrade Database that match your Oracle Client.