today:
27
yesterday:
179
Total:
1,001,123

5 Answers

32
  1. Open your SQL command line and type the following:

    SQL> connect / as sysdba
    
  2. Once connected,you can enter the following query to get details of username and password:

    SQL> select username,password from dba_users;
    
  3. This will list down the usernames,but passwords would not be visible.But you can identify the particular username and then change the password for that user. For changing the password,use the below query:

    SQL> alter user username identified by password;
    
  4. Here username is the name of user whose password you want to change and password is the new password.

 
8

Go to SQL command line:- type:

sql>connect / as sysdba;

then type:

sql>desc dba_users;

then type:

sql>select username,password from dba_users;

If sysdba doesn't work then try connecting with username:scott and password: Tiger

You will be able to see all users with passwords. Probably you might find your's. Hope this helps

 
  • 1
    Just when I run my Oracle.exe, this 3 lines are displayed : SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 4 20:45:14 2016 Copyright (c) 1982, 2010, Oracle. All rights reserved. Enter user-name: These things are displayed in the dark screen. My Oracle screen only asks for the username and password, nothing else! When I entered sql>connect / sysdba, it showed ‘Connected to an idle instance’. But right after when I enter desc dba_users, it shows ‘Error, not logged on’. Other commands like desc dba_users also fail to work as it shows the same result:’Not logged on’. Please do help. 
    – QUEEN
     Feb 4, 2016 at 15:45
  • 2
    Not able to see passwords, it only list all users present in dba_users 
    – Neeraj
     Dec 12, 2018 at 12:24
5
  1. Open Command Prompt/Terminal and type:

    sqlplus / as SYSDBA

  2. SQL prompt will turn up. Now type:

    ALTER USER existing_account_name IDENTIFIED BY new_password ACCOUNT UNLOCK;

  3. Voila! You've unlocked your account.
 
2

The usernames are shown in the dba_users's username column, there is a script you can run called:

alter user username identified by password

You can get more information here - https://community.oracle.com/thread/632617?tstart=0

 
  •  
    Just when I run my Oracle.exe, this 3 lines are displayed : SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 4 20:45:14 2016 Copyright (c) 1982, 2010, Oracle. All rights reserved. Enter user-name: These things are displayed in the dark screen. My Oracle screen only asks for the username and password, nothing else! When I entered sql>connect / sysdba, it showed ‘Connected to an idle instance’. But right after when I enter desc dba_users, it shows ‘Error, not logged on’. Other commands like desc dba_users also fail to work as it shows the same result:’Not logged on’. Please do help. 
    – QUEEN
     Feb 4, 2016 at 15:45

1

if you are on Windows

  1. Start the Oracle service if it is not started (most probably it starts automatically when Windows starts)
  2. Start CMD.exe
  3. in the cmd (black window) type: sqlplus / as sysdba

Now you are logged with SYS user and you can do anything you want (query DBA_USERS to find out your username, or change any user password). You can not see the old password, you can only change it.

No. Subject Author Date Views
106 Apex Interactive Report: The difference between CIR and RIR admin 2018.01.26 81
105 STARTUP admin 2022.09.01 83
104 127.0.0.1:8080/apex/ admin 2023.06.03 83
103 Reversing Require HTTPS admin 2023.06.04 84
102 Link- AbbaBeauty admin 2018.02.13 85
101 EMPLOYEE_LEVEL_ID admin 2016.05.03 88
100 Material requirements planning (MRP) admin 2018.02.14 88
99 image (products) admin 2017.11.24 92
98 SQL Basics - Lesson 1 - Introduction admin 2017.06.17 97
97 TEST admin 2023.03.27 97
96 SQL DEVELOPER file admin 2022.03.17 106
95 APEX ADMIN PASSWORD 바꾸기 admin 2016.05.02 108
94 Null Display Value admin 2024.01.10 110
93 QR-CODE admin 2017.11.30 111
92 LAST DAY SQL admin 2024.01.19 113
91 Display Value, Return Value admin 2016.05.10 115
90 Interactive Report admin 2016.05.07 116
89 How to Install Oracle 11g on Windows 10 - 64 bit | Download / Install Oracle 11g Database file admin 2022.03.17 120
88 Oracle SQL Developer: Online Migration 3.1 admin 2018.04.25 120
87 test admin 2016.05.11 121