DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Password problem

  1. #1
    Join Date
    Oct 2000
    Posts
    57

    Angry

    Oracle 8.1.7. - Windows 2000

    I am needing to change the default password of 'sys' it is currently "change_on_install".

    I shutdown the DB. Stopped the service. Renamed the 'pwd' file. Then i did orapwd file= '........' password = xxxxxx

    Started the service. Tried to connect but the password had'nt changed???!!! Why?

    I can still connect but using the old password??

    NB
    In the init.ora REMOTE_LOGIN_PASSWORDFILE = EXCUSIVE.

  2. #2
    Join Date
    Oct 2001
    Location
    GA, USA
    Posts
    79

    password

    Hi Paul,

    You are right on track. rename the pwd.ora file and then run following command on dos prompt.

    c:> orapwd file=c:\oracle\ora81\database\pwdsid.ora password=psw entries=10


    here file=you oracle home dirictory path where pwd.ora file is stored.


    try it.





  3. #3
    Join Date
    Oct 2000
    Posts
    57
    Yes thanks. But I've done all that already. I read in metalink that I may have to change the registry, can anyone confirm?

  4. #4
    Join Date
    Mar 2001
    Posts
    314
    I don't know what you mean when you say "default" password for SYS - but if you just want to change the password for user SYS to something else from "change_on_install" - just use the ALTER USER SYS IDENTIFIED BY while being logged on as an use with DBA priv. This will be automatically reflected in the password file.

    -amar

  5. #5
    Join Date
    Oct 2001
    Location
    Toronto, Canada
    Posts
    236
    Password file is being used only when data dictionary is not available (i.e. your database is down or not open). All other times the password that is stored in data dictionary is used.

    Use alter user to change the password:

    alter user system identified by new_password;

    new_password is whatever you want new password to be.

    NOte that it will not change password in the password file.

    Leo

  6. #6
    Join Date
    Oct 2000
    Posts
    57

    Unhappy

    Thanks everyone. I used the alter statement and it changed my password for 'sys' and 'internal' just as I wanted.

  7. #7
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    I recommend reading the article about SYS' password in the last issue of Oracle Magazine.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width