Unlocking Accounts in Oracle 10g

Posted on 2007-10-21
Last Modified: 2013-12-19
Hey folks i have alittle problem, I just installed oracle RDBMS and i forgot to unlock scott account, is there any way i can unlock this?

thanks in advance
Question by:greeneel
    LVL 4

    Accepted Solution

    alter user SCOTT  account unlock;
    LVL 11

    Author Comment

    i cant login using the sql*plus program, what do u suggest i do to login and run that script?
    LVL 4

    Assisted Solution

    if you have access to server console, try:
    sqlplus /nolog
    connect / as sysdba
    alter user SCOTT  account unlock;

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Article by: Swadhin
    From the Oracle SQL Reference ( we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
    From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
    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 copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now