Login in as SYS User

Hi ,
I'm using oracle 10g
I tried loggin in as SYS user but I'm not being able to .
I have set the Oracle_Home env variable correctly .
The url that was given during installation was
http://<localhost-domainname>:5560/isqlplus/dba.
It goes to the page and prompts for userid and password but when i give SYS and password as SYS it fails .
I have logged in as the same user and same password in sql* plus .
can anyone help me out.
I'm not being able to find the authentication file .how do i do that

These are the steps:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm#BCEIHEJF
Just follow the steps and if you don't understand one step in particular post it in the forum (maybe in the iSQL*Plus forum you will find a more focused audience). Additionally if you make a search, this has been addressed many times in old threads. Unfortunately I never implemented this configuration myself so I cannot give you any additional tip.
enrico

Similar Messages

  • OEM 11g login error with sys user.

    I have two database in my local host. one is created with dbca and another is manually created.
    i am not able to login ONLY with "sys" user in OEM 11g but i can login in sqlplus with the same user(only in database created manually ).

    yes m giving correct pwd as i mentioned i am bale to login with the same in sqlplus . below is the log details :
    C:\Users\jatrived>emca -deconfig dbcontrol db
    STARTED EMCA at Apr 25, 2013 12:33:20 PM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: cgdb
    Do you wish to continue? [yes(Y)/no(N)]: y
    Apr 25, 2013 12:33:29 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\cfgtoollogs\emca\cgdb\emca_2013_04_25_12_33_19.log.
    Apr 25, 2013 12:33:30 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 25, 2013 12:34:12 PM
    C:\Users\jatrived>emca -config dbcontrol db
    STARTED EMCA at Apr 25, 2013 12:34:29 PM
    EM Configuration Assistant, Version 11.2.0.0.2 Production
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Enter the following information:
    Database SID: cgdb
    Listener port number: 1521
    Listener ORACLE_HOME [ D:\oracle\product\11.2.0\dbhome_1 ]:
    Password for SYS user:
    Password for DBSNMP user:
    Password for SYSMAN user:
    Password for SYSMAN user: Email address for notifications (optional):
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ D:\oracle\product\11.2.0\dbhome_1
    Local hostname ................ ***********.corp.****.com
    Listener ORACLE_HOME ................ D:\oracle\product\11.2.0\dbhome_1
    Listener port number ................ 1521
    Database SID ................ cgdb
    Email address for notifications ...............
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: y
    Apr 25, 2013 12:35:12 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at D:\oracle\cfgtoollogs\emca\cgdb\emca_2013_04_25_12_34_29.log.
    Apr 25, 2013 12:35:16 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Apr 25, 2013 12:36:26 PM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: Software library is already configured.
    Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
    INFO: EM_SWLIB_STAGE_LOC (value) will be ignored.
    Apr 25, 2013 12:36:33 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Deploying Provisioning archives ...
    Apr 25, 2013 12:37:29 PM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
    INFO: Provisioning archives deployed successfully.
    Apr 25, 2013 12:37:29 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Securing Database Control (this may take a while) ...
    Apr 25, 2013 12:37:36 PM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Apr 25, 2013 12:37:37 PM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Apr 25, 2013 12:38:23 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: Database Control started successfully
    Apr 25, 2013 12:38:23 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    INFO: >>>>>>>>>>> The Database Control URL is https://***********.corp.****.com:5500/em <<<<<<<<<<<
    Apr 25, 2013 12:38:25 PM oracle.sysman.emcp.EMDBPostConfig invoke
    WARNING:
    ************************ WARNING ************************
    Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been pl
    aced in the file: D:/oracle/product/11.2.0/dbhome_1/***********.corp.****.com_cgdb/sysman/config/emkey.ora. Please ensure this f
    ile is backed up as the encrypted data will become unusable if this file is lost.
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Apr 25, 2013 12:38:25 PM
    portlist details :
    here now two db having same port , how to remove or change ?
    D:\oracle\product\11.2.0\dbhome_1\install>more portlist.ini
    Enterprise Manager Console HTTP Port (ORA10) = 5500
    Enterprise Manager Agent Port (ORA10) = 1830
    Enterprise Manager Console HTTP Port (jai) = 1158
    Enterprise Manager Agent Port (jai) = 3938
    Enterprise Manager Console HTTP Port (test) = 1158
    Enterprise Manager Agent Port (test) = 1830
    Enterprise Manager Console HTTP Port (cgdb) = 5500
    Enterprise Manager Agent Port (cgdb) = 1831

  • Login to SQL Developer as the SYS user for Getting Started tutorial

    I went to try and do the following tutorial to learn about SQL Developer 3.0, but I cannot get started because I'm unable to perform Prerequisite #3.
    How do I "Login to SQL Developer as the SYS user"?
    Dave
    Getting Started with Oracle SQL Developer 3.0
    Prerequisites
    Before starting this tutorial, you should:
    1 .
    Install Oracle SQL Developer 3.0 from OTN. Follow the readme instructions here.
    2 .
    Install Oracle Database 11g with the Sample schema.
    3.
    Unlock the HR user. Login to SQL Developer as the SYS user and execute the following command:
    alter user hr identified by hr account unlock;
    Note: This tutorial is developed using Oracle SQL Developer 3.0.
    4 .
    Download and unzip the files.zip to a local folder on your file system. In this tutorial, we use the C:\sqldev3.0 folder.

    I installed XE. It asked me to set up a username and password during the install.
    How do I login as the SYS user, though?
    There is a Connection Name, Username, and Password field when I try to set up a connection in SQL Developer, and I used the username and password I made during the install. I clicked the Test button to test the connection.
    I see "Status: Failure -Test failed: ORA-28009: connection as SYS should be as SYSDBA or SYSOPER".
    How do I tell SQL Developer "as SYSDBA or SYSOPER"?
    Sorry, this is probably easy, and I'm just clueless about it.

  • Sql developer 1.2.1  failed sys user login

    Setting up a connection with the sys user in sql developer connections return invalid username/pw.
    I have the role set to sysdba.
    I can connect as non sys users with sql developer.
    I can connect via sqlplus with the sys user and pw.
    What would cause me not to be able to connect with the sys user with sql developer?
    Thanks

    This is the Oracle Designer forum. Not the SQL Developer forum.
    Please repost in the proper forum.

  • ORA-01017: invalid username/password; logon denied FOR SYS USER

    Hello,
    I was usually login through the same password for sys user to log on to the database as sysdba, but last time i used " / as sysdba" to connect using local system administrative account which is connected very well and still connecting in the same way. The initializing parameter file set with the following parameter:
    remote_login_passwordfile=EXCLUSIVE
    Now if i use to connect the database server remotely using sys user, it gives me "ORA-01017: invalid username/password; logon denied" error and if i use the same login credentials on DB server machine using other local user accounts it is giving me "Insufficient Privilige" error. I can only connect now using local administrator account from DB server machine using " / as sysdba" statement.
    Kindly guide me the issue.

    When you use " / as sysdba" locally on server, you are using OS authentication which will bypass the password file and user/pass authentication.
    Looks like you have discrepancy between the password you use and real password. You can login " / as sysdba" and change your SYS password to a new one.
    When was last time you successfully login using password? What has changed since then?

  • Sys user unable to do anything

    Hi,
    the setup is oracle 10g running on solaris 10.
    Recently, we faced a issue where no user was able to establish connection to the database, this we found to be due to a parameter processes=150, however even sys user was not able to perform any operations like 'select', 'shutdown of the database', etc etc. Finally i did kill the pmon process and then restarted the db and set processes=200.
    My Query is if there was a better way to handle the above situation, where there sys user can just login, but cannot perform any query/actions.

    the setup is oracle 10g running on solaris 10.
    Recently, we faced a issue where no user was able to establish connection to the database, this we found to be due to a parameter processes=150, however even sys user was not able to perform any operations like 'select', 'shutdown of the database', etc etc. Finally i did kill the pmon process and then restarted the db and set processes=200.
    My Query is if there was a better way to handle the above situation, where there sys user can just login, but cannot perform any query/actions.I think it is possible to start a new session and do such operation using sys user using a BEQUETH session. Login to your host server. Set the oracle_sid and connect as sysdba provided the user through which you logged in should be a member of dba group.
    Regdards.

  • Can't login with sqlplus 'sys/password@DEV as sysdba'

    Does anyone has idea why I get error message when I am logging using
    sqlplus 'sys/password@DEV as sysdba'
    ERROR:
    ORA-01031: insufficient privileges
    But I can login with sqlplus '/ as sysba' to DEV database.
    Do I need password file for remote as sysdba with sys user also?
    Thanks in advance

    Do I need password file for remote as sysdba with sys user also?Yes. You can use orapwd command to create it.

  • Password for sys user

    Hi all,
    i am using oracle8i. i have changed the password for my sys user as oracle123. but i can login by entring any password even i entered user name sys password sys as sysdba it logins to the database. its accepting any password i entered . y like that ??
    regards
    Rehman

    Not exactly...
    To connect AS SYSDBA, there is two ways :
    - password file
    - OS authentication (i.e. member of the DBA group)
    As long as you enable OS auth. (in sqlnet.ora), you could logon with any password (or even no password)
    With password file (remote_login_passwordfile<>NONE in init.ora), you'll be able to connect as sysdba even on client, event not a member of DBA group

  • Sys User cannot connect to DataBase10g through ODBC

    Hi guys ,
    am making ODBC connection of Oracle 10g2 with sys user from xp administrative tools(Data sources ODBC) but it's giving me error.
    ORA-01017:invalid username/password ;login denied.
    with the same user /password i connect many times at sql* plus.
    Please guide me why its all happening.
    Note=ODBC connection with other user HR/Scott have no problem.

    Using sql can very well mislead. See below,
    E:\Documents and Settings\aristadba>sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Wed Jan 13 10:22:00 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> sqlplus shakeel/khan as sysdba
    SP2-0734: unknown command beginning "sqlplus sh..." - rest of line ignored.
    SQL> connect shakeel/khan as sysdba
    Connected.
    SQL> connect tom/kyte as sysdba
    Connected.
    SQL> conn aman/sharma as sysdba
    Connected.
    SQL>So would suggest that change the password while being connected as Sys from sqlplus (easiest way) or through recreating the password file and retry the connection.
    HTH
    Aman....

  • How to change the Default login script and the USER login script in Netware3.12

    I need to cut down the disk map from Neware 3.12 in Win98 client's PC.
    please tell me
    how to change the Default login script and the USER login script in
    Netware3.12 ?
    Or is there any other ways to do this thing?
    Thanks a lot!

    On 4/6/2006 [email protected] wrote:
    > how to change the Default login script and the USER login script in
    > Netware3.12 ?
    Please repost in the discontinued.forums.
    Edison Ortiz
    Novell Product Support Forum SysOp
    (No Email Support, Thanks !)

  • How can I login and retrieve my user file from the trash?

    I was trying to find out where all my HD had gone, which a did using ‘What Size’.
    I found what looked like an old backup file so I put the file in the trash.
    It turns out that the file was my user file. So now I can’t login to as the user.
    How can I login and retrieve my user file from the trash?

    The Digital Editions forum is here, in case this is what you are talking about:
    http://forums.adobe.com/community/adobe_digital_editions
    If you are not, I apologize for the misunderstanding.

  • How to conf  in Hyperion, so the system couldn't login with the same user

    Hai.....
    how to configure in Hyperion, so the system couldn't login with the same user id in different machine ? (could you please provide me with detail step by step ? )
    rgds
    uka fp

    fane_j wrote:
    Sally R. wrote:
    Someone gave me a suggestion to go to the terminal and type in the following:
    ls /Users/Shared/.*.so
    This was published on MacWorld's site, and it's not a very good tip. Try this instead
    ls -la /Users/Shared/*.so
    Turns out I was wrong about that. Somebody else suggested something even more complicated and got this reply:
    By bastion
    Fri Feb 24 08:49:05 PST 2012
    PeterSParker said
    Your terminal statement has an extra "." in it that prevents it from working.
    Also, you should add the options -alR to show what is happening, and to search subdirectories.
    The revised command looks like this:
    ls -alR /Users/Shared/*.so
    The above is completely wrong. The command as shown in the article is appropriate.
    The "." is not extra and doesn't prevent the command from working. It's specifying that you're listing files that start with a period and end with ".so" with anything in between being matched.
    Because you're explicitly searching for things that start with "." you don't need the -a flag.
    Because you only care about simple existence and not any metadata you don't need -l.
    Because the files of interest are installed in /Users/Shared directly, and not subfolders thereof, you don't need -R.

  • My wife and I each have our own apple ID's which we use on our own iPhones and iPads. We share an iMac. Is there a way of enabling Facetime on the iMac to accept calls to either of our IDs without the need to login as that particular user?

    My wife and I each have our own apple ID's which we use on our own iPhones and iPads. We share an iMac. Is there a way of enabling Facetime on the iMac to accept calls to either of our IDs without the need to login as that particular user?

    no, when using facetime you log in with the apple id you want people to reach you at, so unless you both agree to share one apple id for all the facetime you do, it will be necessary for you to logout and login each time you use the application.

  • SYS user connects at database level, is it correct?

    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.
    Moazzam

    Moazzam wrote:
    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.Running a SQL script very likely means SQL*Plus is used. One of two types of Oracle sessions will be created via sqlplus. A dedicated session. Or a shared server session.
    A dedicated session can also be local (sqlplus connects "directly" to the dedicated server process), or remote (sqlplus connects via tcp/ip to the dedicated server process).
    A server session is usually "killed" using the alter system kill session command. Despite the differences between shared and dedicated server connections, the end result is the same. The session terminates abnormally (session UGA will be released, session will be cleaned up, rolled back, etc) - and the session ceases to exist.
    So irrespective of how that sqlplus session runs that script - the session, when killed, will cause a sqlplus failure. And no subsequent script commands would be executed by that Oracle session.
    What can happen is that sqlplus continues running, continues reading the script, and continues submitting commands to be executed. However, with the server session killed, there is no server process to service the commands submitted by the sqlplus client. In this case, sqlplus will throw the error "+SP2-0640: Not connected+" after each of the commands it tries to execute after the server session was killed.
    The only time when sqlplus will be able to continue is when the session is not killed, but interrupted. The Oracle Call Interface (OCI) supports a OCIBreak() call - allowing the client to interrupt-and-abort the request that its server session is currently executing.
    For example, sqlplus sends a OCIBreak() while it waits for a server response (e.g. waiting for the answer to a SQL select query), when the user presses Ctrl-Break to abort that request.
    In this case, the session still exists - and the client can issue a new request that the session will service. But an OCIBreak() cannot be triggered (to my knowledge) externally from another Oracle session. You need to send the client process a "break request" (like a Ctrl-Break keystroke) in order to trigger that client process to make an OCIBreak() call to Oracle and interrupt its server process.

  • Security about SYSTEM and SYS users

    Guys,
    Just curiosity,
    1) What happens if I logged with a user that have DBA role or DROP USER privilege and to drop the SYSTEM or SYS user ? This is possible ? If yes, how can protect them ?
    2) I know that the SYS is owner of the dictionary and catalog, but what is the objective of the SYSTEM user to exists ?
    Tank you.

    Hi,
    As you say, SYS is the owner of the database and the owner of the data dictionary.
    But SYS has the SYSDBA privilege which SYSTEM doesn't. This makes it possible for SYS to become a very very powerful user. In addition, never ever create objects in the SYS schema. SYSTEM is a privileged administration user, and typically owns Oracle provided tables other than the dictionary.
    Making a test.
    oracle@linux:~> sqlplus
    SQL*Plus: Release 9.2.0.4.0 - Production on Thu Dec 7 08:55:51 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Enter user-name: / as sysdba
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 126948772 bytes
    Fixed Size 452004 bytes
    Variable Size 104857600 bytes
    Database Buffers 20971520 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    Database opened.
    As Frederic showed
    SQL> drop user sys cascade;
    drop user sys cascade
    ERROR at line 1:
    ORA-01031: insufficient privileges
    SQL> drop user system cascade;
    User dropped.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 126948772 bytes
    Fixed Size 452004 bytes
    Variable Size 104857600 bytes
    Database Buffers 20971520 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    Database opened.
    SQL>
    If you like to protect it, you can do this below:
    eg:
    create table secured_objects(object_name varchar2(30));
    Table created.
    SQL> insert into secured_objects values ('SYSTEM');
    1 row created.
    SQL> select * from secured_objects;
    OBJECT_NAME
    SYSTEM
    1 rows selected.
    create or replace trigger check_beforedrop
    before drop on database
    declare
    oname char(30);
    begin
    select object_name into oname from secured_objects
    where upper(object_name)=ora_dict_obj_name;
    if sql%found then
    RAISE_APPLICATION_ERROR(-20001,'You have not permission to drop this object.');
    end if;
    exception
    when no_data_found
    then dbms_output.put_line('This object was dropped.');
    end;
    SQL> drop user system cascade;
    drop user system
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: You have not permission to drop this object.
    ORA-06512: at line 7
    Reference: http://www.adp-gmbh.ch/ora/misc/sys_system_internal.html
    Cheers

Maybe you are looking for

  • Keeping stalonetray on top when you toggle show desktop

    I'm sure it's easy, but I can't seem to get my stalonetray to stay visible (it toggles off with the rest of the windows) when I hit W-d to toggle show desktop (LXDE/openbox). Here's my .staylonetrayrc: transparent true sticky true skip_taskbar true g

  • My ipod has "hold" in place permanently for some reason

    This started happening last night where my ipod has "hold" lock on, almost permanently, even if it's not switched on. Nothing happens if I actually move the switch over to "hold," it just stays on "hold." The only way I can get it off is when I jiggl

  • How to insert text in smartform boxes

    Hi Friends, This is regarding about smartform box. I have created one template. pls find below for complete template for your ref. Total template has 5 lines names like C1, C2, C3, C4, C5, C6 and C7. To fulfill client req, again I have devided First

  • How do I install 10.1.102.64 flash player?

    Based on other discussions in this forum, I downloaded and applied the Adobe "uninstall" tool form teh Adobe web site. I verified via teh Adobe site tool that fp was indeed uninstalled. Then I ran disk utility (all OK). I then downloaded the 10.1.102

  • I CANNOT REGISTER ADOBE ALBUM STARTER EDITION 3.0

    Every time I try to enter my unlock code, I get this message: "Your unlock code was not activated. Administrator privileges are needed to activate the unlock code on this computer. please log in with a privileged account and try again." I am running