Home » RDBMS Server » Security » Cannot change the password for the user sys
Cannot change the password for the user sys [message #255771] |
Wed, 01 August 2007 13:38  |
molazwm
Messages: 4 Registered: August 2007
|
Junior Member |
|
|
Cannot change the password for the user sys in the Oracle application R12
i want to change the default password for the user sys
my sqlnet.ora contains this line
SQLNET.AUTHENTICATION_SERVICES= (None)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
SQLNET.EXPIRE_TIME= 10
so i made this steps to change the password:
$sqlplus sys/change_on_install as sysdba
ERROR:
ORA-01031: insufficient privileges
"you can see that the default password does not work"
so i try to make the sqlnet.ora to be like that
#SQLNET.AUTHENTICATION_SERVICES= (None)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
SQLNET.EXPIRE_TIME= 10
and i try to use the OS AUTHENTICATION :
$sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Jul 29 15:27:34 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>sho user
USER is "SYS"
SQL>alter user sys identified by new_pass;
User altered.
SQL>exit
- And then rollback SQLNET.ora changes to prevent unlegal connections :
SQLNET.AUTHENTICATION_SERVICES= (None)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
SQLNET.EXPIRE_TIME= 10
- and try to connect with the new password
$sqlplus sys/new_pass as sysdba
ERROR:
ORA-01031: insufficient privileges
I changed the system password successfully and after i connect as system i try to change the sys password but it does not work also.
I do not know what to do .....?????
can you help me !!!!!
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Mar 13 20:20:10 CDT 2025
|