How to restirct sqlplus '/as sysdba' logins?.

Hi,
Anyone know how to restirct
sqlplus '/as sysdba'
logins from the Unix prompt.

Hi,
Anyone know how to restirct
sqlplus '/as sysdba'
logins from the Unix prompt.You can add SQLNET.AUTHENTICATION_SERVICES=(NONE) to the $ORACLE_HOME/network/admin/sqlnet.ora on the database server.
Attempts to login as / as sysdba will receive ORA-01031: insufficient privileges .
This will force all users to provide a password.

Similar Messages

  • Sqlplus / as sysdba--how it works

    When we login as
    sqlplus / as sysdba
    we login as SYS user, but how no userid or password is given but still we login as SYS user ??

    Try this :-
    [timepass@adc2110341 bin]$ ./sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 7 04:57:28 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user
    USER is "SYS"And then this :-
    [timepass@adc2110341 bin]$ ./sqlplus /
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jan 7 04:57:51 2011
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> show user
    USER is "OPS$TIMEPASS"Thanks.

  • I coud not connect by sqlplus / as sysdba

    export ORACLE_SID=prod
    sqlplus / as sysdbait gives the following error:
    ora-01030:insufficient privilege
    how could i login by / as sysdba? do i need some setting?

    You should create a special group for 'dba'.
    Some installations also prefer you create an 'oinstall', but I prefer not to use it myself.
    Rather, I just use the 'dba' group.
    You should have an entry in your /etc/group file similar to:
    dba:!:201:oracle
    Then, in your password file, you should see the 'group' field (4th field) with the group ID that is in the /etc/group file.
    oracle:!:215:201::/home/oracle:/usr/bin/ksh
    Above, notice that the password entry notes the Oracle User ID (UID) is 215, and the Group ID (GID) is 201.
    This is just an example (of course), and yours will be different.
    As a recommendation, you might make a DBA group with ID 501 and then change the Oracle group ID to 501.

  • Use of sqlplus / as sysdba in oracle 11g

    What is purpose of sqlplus / as sysdba
    if the database is at client place he can see the data by modifying the existing users password right?
    how to restrict logging under sqlplus / as sysdba by giving some password for it to login

    933663 wrote:
    How to track the no of log-in attempts made for this database either success or failure.
    Any sys table is there to track the records
    Thanks!Unless you have changed the defaults, all connect attempts by normal users are logged to the sys.ayd$ table, and all connects as sysdba are logged to files in audit_file_dest (Unix) or the application log (Windows).
    Edited by: JohnWatson on Jan 24, 2013 9:56 AM
    Typo: for ayd$ read aud$

  • ORA-01031: insufficient privileges when loggin in as sqlplus "/ as sysdba"

    I have recently got a brand new Solaris Box. Have restored the ORacle Home from a live server.
    then gone to restore a database from Tape.
    All done fine.
    However I cannot seem to login as
    $>sqlplus "/ as sysdba"
    I can only seem to login as
    $>sqlplus /nolog
    then
    SQL>connect sys/password as sysdba
    I have shut the Database down and recreated the password file
    orapwd file=$ORACLE_HOME/dbs/orapwFMZ password=passowrd entries=50
    Tried again but the same response... a spool of which is below.
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Thu Apr 5 09:49:23 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: ^C^X^Z
    SQL> connect / as sysdba
    ERROR:
    ORA-01031: insufficient privileges
    $ sqlplus /nolog
    SQL*Plus: Release 9.2.0.8.0 - Production on Thu Apr 5 09:49:36 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect sys/password as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 68386816 bytes
    Fixed Size 729088 bytes
    Variable Size 54525952 bytes
    Database Buffers 12582912 bytes
    Redo Buffers 548864 bytes
    Database mounted.
    Database opened.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    I have inlcuded a list of parameters below FYI
    SQL> show parameter remote
    NAME TYPE VALUE
    remote_archive_enable string true
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string SHARED
    remote_os_authent boolean TRUE
    remote_os_roles boolean FALSE
    Please can someone help.
    Best Regards,
    M
    Edited by: user5856470 on Apr 5, 2012 2:11 AM

    I have tried what has been suggested but with no result
    SQL> alter system set remote_login_passwordfile=exclusive scope=spfile;
    SQL> show parameter remote_log
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQLNET.AUTHENTICATION_SERVICES = (ALL)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Bounced the database but no result...
    $ sqlplus "/ as sysdba"
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:37 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    I have reset the parameters back to original. As this is the parameters in the source database system which is working with sqlplus "/ as sysdba"
    As you can see, I can log in as below but not with remote authentication....
    $ sqlplus
    SQL*Plus: Release 9.2.0.8.0 - Production on Tue Apr 10 15:54:42 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: sys/password as sysdba
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    FYI.
    I did delete the password file and recreated it as well. But cannot still connect as sqlplus "/ as sysdba"
    Any Ideas???

  • 'sqlplus /' v.s. 'sqlplus / as sysdba'

    I have a RAC with two nodes. on one node I can log in as 'sqlplus /'; on the other, it doesn't work. I can only log in as 'sqlplus / as sysdba'. I compared the parameters and they are the same on both nodes. Why is that? Thanks.

    As a minimum you should always include the 4-digit version number and the full O/S name and version, in everyone of your posts, in order to allow people to help you. No one here keeps track of here configuration and will remember what you are running.
    sqlplus / is a legitimate login when you have an externally identified oracle account with the same name as the current O/S user.
    Sybrand Bakker
    Senior Oracle DBA

  • Sqlplus / as sysdba hung state

    Hi All,
    When we try to do a sqlplus / as sysdba it gets into hung state.
    sapkxqap03:oraqs9 2> sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed Feb 16 19:06:28 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    We dont get anything after this prompt.Is there a way we can get to know as to what might be the issue.Thanks.

    Hi Michael,
    Nice to hear from you Michael.Long time.Thanks for the response
    Checked no archiver struck since the file systems have enough space.The problem is that alter log has not been updated for the past 1 week.R3trans also gets struck since it also uses sqlplus to login.Thanks.,
    4 ETW000 R3trans version 6.05 (release 46D - 04.12.08 - 14:43:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000 date&time   : 16.02.2011 - 21:11:13
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [developertra,00000]  Wed Feb 16 21:11:13 2011
         232  0.000232
    4 ETW000  [developertra,00000]  db_con_init called
          14  0.000246
    4 ETW000  [developertra,00000]  create_con (con_name=R/3)
          34  0.000280
    4 ETW000  [developertra,00000]  Loading DB library '/usr/sap/QS9/SYS/exe/run/dbo
    raslib.so' ...
    4 ETW000
          30  0.000310
    4 ETW000  [developertra,00000]  load shared library (/usr/sap/QS9/SYS/exe/run/db
    oraslib.so), hdl 0
    4 ETW000
       15933  0.016243
    4 ETW000  [developertra,00000]  Library '/usr/sap/QS9/SYS/exe/run/dboraslib.so'
    sapkxqap03:qs9adm 3> more trans.log
    4 ETW000 R3trans version 6.05 (release 46D - 04.12.08 - 14:43:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000 date&time   : 16.02.2011 - 21:11:13
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [developertra,00000]  Wed Feb 16 21:11:13 2011                             232  0.000232
    4 ETW000  [developertra,00000]  db_con_init called                                    14  0.000246
    4 ETW000  [developertra,00000]  create_con (con_name=R/3)                             34  0.000280
    4 ETW000  [developertra,00000]  Loading DB library '/usr/sap/QS9/SYS/exe/run/dboraslib.so' ...
    4 ETW000                                                                              30  0.000310
    4 ETW000  [developertra,00000]  load shared library (/usr/sap/QS9/SYS/exe/run/dboraslib.so), hdl 0
    4 ETW000                                                                           15933  0.016243
    4 ETW000  [developertra,00000]  Library '/usr/sap/QS9/SYS/exe/run/dboraslib.so' loaded
    4 ETW000                                                                              18  0.016261
    4 ETW000  [developertra,00000]  function DbSlExpFuns loaded from library /usr/sap/QS9/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              22  0.016283
    4 ETW000  [developertra,00000]  Version of library '/usr/sap/QS9/SYS/exe/run/dboraslib.so' is "46D.00", patchlevel (0.2438)
    4 ETW000                                                                              99  0.016382
    4 ETW000  [developertra,00000]  function dsql_db_init loaded from library /usr/sap/QS9/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              12  0.016394
    4 ETW000  [developertra,00000]  function dbdd_exp_funs loaded from library /usr/sap/QS9/SYS/exe/run/dboraslib.so
    4 ETW000                                                                              19  0.016413
    4 ETW000  [developertra,00000]  New connection 0 created                              17  0.016430
    4 ETW000  [developertra,00000]  db_con_connect (con_name=R/3)                         13  0.016443
    4 ETW000  [developertra,00000]  find_con found the following connection for reuse:
    4 ETW000                                                                              10  0.016453
    4 ETW000  [developertra,00000]  Got ORACLE_HOME=/oracle/QS9/102_64 from environment
    4 ETW000                                                                             434  0.016887
    4 ETW000  [developertra,00000]  -->oci_initialize                                     23  0.016910
    4 ETW000  [developertra,00000]  Got ORACLE_SID=QS9 from environment                   24  0.016934
    4 ETW000  [developertra,00000]  Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
    4 ETW000                                                                              13  0.016947
    4 ETW000  [developertra,00000]  Logon as OPS$-user to get SAPR3's password            11  0.016958
    4 ETW000  [developertra,00000]  Connecting as /@QS9 on connection 0 ... (dbsl 46D 220209)
    4 ETW000                                                                              15  0.016973
    4 ETW000  [developertra,00000]  -->oci_logon(con_hdl=0, user='', dbname='QS9')        15  0.016988

  • Sqlplus as sysdba takes 3-4 mins

    Hi,
    I am trying to login to the database by using sqlplus as sysdba but it takes 3 to 4 mins to get the sql prompt. But for other users it does not take that much time.
    Could any one suggest me on this?
    Thanks
    Venkat

    user12052260 wrote:
    My problem has solved. Thanks.May be u should tell what exactly solved your problem, so that other users can also benefit from what you did. Just a suggestion.

  • Why sqlplus / as sysdba create 4 connections?

    Hi all,
    I have a 4 node rac set-up running 11.2.0.2.
    If I log on to one of the 4 servers and connect to the database using sqlplus "/ as sysdba" it connects to the local database but also
    creates another 4 connections (one on each instance) so I end up with 5 connections. I wanted to know
    a) why it does this,
    b) how it does this
    c) can I stop it doing this (if I just so wanted to?)
    Many thanks

    Hi Billy,
    your response made me dig a bit deeper, and I found out what it was!
    My query to return sessions was from gv$session, and I was using the gv$session.module column to show the connection.
    However, if I changed this from module to gv$session, it returned the oracle PZ99 process.
    Looking on Metalink, I see this process is used to return data from remote nodes and was introduced in 10g RAC.
    Looking at the columns together, you will see way I thought the way I did originally!
    Inst   SID    SERIAL# USERNAME  MODULE                      PROGRAM
        1    35      17861 SYS      sqlplus@db01 (TNS V1-V3)    sqlplus@db01 (TNS V1-V3)
        3   324      34635 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db03 (PZ99)
        2   320      46165 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db02 (PZ99)
        1   641      36247 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db01 (PZ99)
        4   639      39893 SYS      sqlplus@db01 (TNS V1-V3)    oracle@db04 (PZ99)Thanks

  • Sqlplus / as sysdba

    Dears
    i would like to log in sqlplus (user)/(password) as sysdba without writing the user and password just want to write " sqlplus / as sysdba "
    any help???
    thank you dears

    Hi,
    In the Oracle server you are able to connect using sqlplus / as sysdba. From a client, you can create a Wallet in order to use the Secure External Password Store
    When clients are configured to use the secure external password store, applications can connect to a database with the following CONNECT statement syntax, without specifying database login credentials: connect /@db_connect_string where db_connect_string is a valid connect string to access the intended database, such as the service name, URL, or alias as illustrated in the earlier examples.
    Cheers
    Legatti

  • DOES ANYONE KNOW HOW TO GET PASSED MY PASSWORD LOGIN on a mac pro? I FORGOT IT. (yosemite 10.10.1)

    DOES ANYONE KNOW HOW TO GET PASSED MY PASSWORD LOGIN on a mac pro? I FORGOT IT. (yosemite 10.10.1)

    User Tip:  Reset the user password in OS X Lion, Mountain Lion, Mavericks and Yosemite
    Posting in CAPS LOCK Is often seen as screaming and is not appreciated.  It's also very hard to read.

  • How can  I  restrain the user login portal once, in the same time ???

    Hi
    I need to restrain the user can't repeat to login portal ....
    to reduce portal loading
    How can I restrain the user login portal once, in the same time???
    Which attributs in Identity Manager or amconsole I can do it to restrain the user ??
    tks

    Does your portal support anonymous access? If so, make sure you are using the authlessanonymous mode. This mode only creates one session that is shared for all anonymous users. This is much more efficient than anonymous access, which creates a session for each anonymous user.
    I have no other recommendation for limiting users to a single login. In general, web applications do not behave like this. What if a user closes their browser without logging out? Does the user have to wait until the session times out in order to log back in again?
    The same thing is true for users that are mobile. If a user leaves their office without logging out and then attempts to log in with a laptop in the conference room, then access will be denied in your implementation. Users do not expect this type of limitation being built into the system.
    If you are having problems scaling, then you need to look at your architecture and perhaps add some more resources. Also, make sure you are making efficient use of the authlessanonymous access mode as stated above.
    - Jim

  • How can I open the EP login page in the same pop-up window?

    is it possible for me to using / only one window(Browser) pop-up to EP Page(Login or iView...).
    In the firs general html page I create a EP login page link action[eg. "window.open('url', 'target_name')"],
    but always launching new pop-up window(Browser).
    How can I open the EP login page in the only one window(pop-up)?
    Could anybody help me by giving suggestion and codding?
    Thanks,
    jin.

    Hi,
    if you want to redirect the root of portal system (http://portal/) to the login page, edit the
    file and change the body tag as follow:
    \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html
    <body onload="location.replace('irj/portal' + document.location.search)"></body>

  • How do I add Another "User" login to my wife's Mac Book Pro?

    How do I add Another "User" login to my wife's Mac Book Pro?

    System Preferences>Accounts. Unclick the lock and add away.

  • How do I eliminate a computer login password on my macbook pro, Yosemite os?

    How do I eliminate a computer login password on my m/acbook pro, Yosemite os

    If you want to auto-login, use:
    System Preferences > Users & Groups > Login Options ...
    Automatic Login :   [ Username ]

Maybe you are looking for

  • Display images stored in BLOB in html pages via JSP

    Hello, My images are stored in BLOB column of other base than portal. in JSP i have to display them in html pages. anybody have already did the same thing ?

  • Approval process in XML forms

    Hi, I am implementing XML forms with approval process.UI have created a news. and it goes to the folder /documents/news2 For Folder "News2" I have permission to one USER "Preeti " as approver.Everyone is Read access Service Permissions that "Preeti"

  • DivX in Safari 3.0.3

    For me Safari will freeze everytime I try to play a DivX Video in an embeded player. DivX is listed in my plugins folder but it still won't play any files. DivX Stage6 has never worked and I was wondering if anyone else had this problem. Message was

  • Allowing respondents to print as PDF

    Do you have any idea when we might have this ability?  We want to purchase the product but this is really something that we want to see.

  • HowTo? Replacement pattern for StringSubstitution?

    With Perl compatible regular expressions, I can have a regex do string replacement with \1 to represent the pattern to be preserved in the replacement. IMG_1234.cr2 --> YYMMDD_061234_Description.cr2 using a pattern such as: IMG_([0-9]{4}).cr2 --> YYM