SYS password doesn't work [message #356739] |
Sat, 01 November 2008 20:57 |
camham
Messages: 12 Registered: November 2008
|
Junior Member |
|
|
after completing my 10g db creation, i decide to use password file authentication but not os authentication.
i have checked my configuration parameter:
remote_login_passwordfile=exclusive
and then issued
orapwd file=$oracle_home/dbs/pwd$sid.ora password=password entries=10
but it didn't work. i can still login use sys user without password.
what is the reason and how should i do?
|
|
|
|
|
|
Re: SYS password doesn't work [message #356743 is a reply to message #356742] |
Sat, 01 November 2008 22:59 |
camham
Messages: 12 Registered: November 2008
|
Junior Member |
|
|
e@AS4 dbs]$ sqlplus / as
sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 1 13:25:24 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[oracle@AS4 dbs]$ cat /u1/db10/network/admin/sqlnet.ora
# sqlnet.ora Network Configuration File: /u1/db10/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
#NAMES.DIRECTORY_PATH= (TNSNAMES)
NAMES.DIRECTORY_PATH= (NONE)
|
|
|
|
Re: SYS password doesn't work [message #356756 is a reply to message #356744] |
Sun, 02 November 2008 02:46 |
camham
Messages: 12 Registered: November 2008
|
Junior Member |
|
|
sorry i modified the incorrect item.
now i have added authentication item and OS authentication is disable. but i can't login with password set by orapwd.
i encountered ora-01031 error
|
|
|
|
Re: SYS password doesn't work [message #356784 is a reply to message #356739] |
Sun, 02 November 2008 06:34 |
camham
Messages: 12 Registered: November 2008
|
Junior Member |
|
|
i altered sys's password to "password" which is same as passwordfile.
after shutdown the instance, i couldn't connect as sysdba if i uncomment the sqlnet.authentization item. then how can i start database?
|
|
|
|
Re: SYS password doesn't work [message #356951 is a reply to message #356820] |
Mon, 03 November 2008 05:53 |
camham
Messages: 12 Registered: November 2008
|
Junior Member |
|
|
i did as u mentioned but i couldn't login yet.
--sqlnet.authentication=none
sqlplus "/ as sysdba"
sql>alter user sys identified by password;
sql>shutdown immediate;
uncommmented sqlnet.auth....
then i couldn't login in as sys to start the instance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|