Solved

Forgot System Password for Oracle XE

Posted on 2009-06-26
3
3,140 Views
Last Modified: 2012-05-07
Good morning,

I forgot the system password for my Oracle XE installation to my Ubuntu Server computer.  Is there any way I can rest that password?

Thanks so much,


Jazon
0
Comment
Question by:piratepatrol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
tangchunfeng earned 250 total points
ID: 24727668
sqlplus / as sysdba
alter user system identified by newpassword;
0
 
LVL 6

Assisted Solution

by:Greg Clough
Greg Clough earned 250 total points
ID: 24728987
tangchunfeng is correct, but make sure that your ORACLE_SID variable is set first:

su - oracle (or just login as the "oracle" unix user)
echo $ORACLE_SID (If this is already set to the name of your database, then stop here)
cat /etc/oratab (or maybe /var/opt/oracle/oratab. This lists all databases on the server)
ps -ef | grep smon (This will list the names of all databases that are up-and-running on the server)
. oraenv
(Enter the name of your database when prompted, in UPPER case)

This will setup your environment to point to the correct database, otherwise your "sqlplus" won't know which database to connect to.
0
 
LVL 3

Author Comment

by:piratepatrol
ID: 24761671
Thanks so much.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to recover a database from a user managed backup

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question