Oracle Sqlplus Logon Authentication problem

Source: Internet
Author: User
Tags reserved oracle database sqlplus

After installing Oracle on the Linux,unix operating system, use the Sqlplus '/as sysdba ' command to log in to the Oracle database as SYSDBA, which has some security implications, The operating system administrator can also log Oracle users to the Oracle database, do some sysdba the same thing, and then think, can not cancel this method of operating system authentication, and use Oracle username and password authentication, after searching documents, found that in $oracle_ Add the following in the Home/network/admin/sqlnet.ora file, sqlnet. Authentication_services= (NONE), you can cancel the operation certification, the following is illustrated with a practical example:

Login status before adding

[Oracle@node78 admin]$ more Sqlnet.ora
[Oracle@node78 admin]$

[oracle@node78 ~]$ sqlplus '/as sysdba '

Sql*plus:release 10.2.0.1.0-production on Mon Oct 17 11:36:20 2011

Copyright (c) 1982, +, 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>

After the addition

[Oracle@node78 admin]$ more Sqlnet.ora
Sqlnet. Authentication_services= (NONE)
[oracle@node78 admin]$ sqlplus '/as sysdba '

Sql*plus:release 10.2.0.1.0-production on Mon Oct 17 11:37:30 2011

Copyright (c) 1982, +, Oracle. All rights reserved.

ERROR:
Ora-01031:insufficient Privileges

Enter User-name:

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.