Changing passwords of oracle users

Dear all
I wander is there any problem if changing password of oracle users SAPOWNER, system,sys . (I guess command for that is brconnect -u system/<password> -f chpass -o <sapowner> -p <password>
). What about sys and system. (I hope that after changing passwords the system will be functional)
Which user is used when "sqlplus / as sysdba"
thank you in advance

Hello Jan,
I wander is there any problem if changing password of oracle users SAPOWNER, system,sys
Well we already discussed the SAPOWNER here: http://forums.sdn.sap.com/message.jspa?messageID=10814500#10814500
If you change the password of SYSTEM or SYS there will be no problem at all. These users/password combination is not used in a SAP environment unless you explicitly specify the SYSTEM user and password in some BR*Tools calls like brconnect. If you just use the "/" default approach, the OS authentication mechanism (OSDBA) is used - so no issue there at all.
@Orkun:
This is not a user, but a role. So when you connect to the database by using "/as sysdba" you will be able to connect to the system by sysdba role not by a user.
If you use this apporach you are connected with the user SYS - so you are using a user for sure (and btw. you can only logon with SYS by using SYSDBA role). The only difference between "sqlplus / as sysdba" and "sqlplus SYS as sysdba" is, that you are using the specified OSDBA group with the first approach (so no password is required).
shell> pwd
/oracle/<SID>/11202/rdbms/lib
shell> grep dba config.s
#  SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access.
        .rename H.16.ss_dba_grp{TC},"ss_dba_grp"
        .globl  ss_dba_grp{RW}
T.16.ss_dba_grp:
        .tc     H.16.ss_dba_grp{TC},ss_dba_grp{RW}
        .csect  ss_dba_grp{RW}, 3
# End   csect   ss_dba_grp{RW}
        .string "dba"
shell> sqlplus / as sysdba
SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM DUAL;
SYS_CONTEXT('USERENV','SESSION_USER')
SYS
shell> sqlplus SYS as SYSDBA
Enter password:
SQL> SELECT sys_context('USERENV', 'SESSION_USER') FROM DUAL;
SYS_CONTEXT('USERENV','SESSION_USER')
SYS
Regards
Stefan

Similar Messages

  • How to change password of sys user connected as sysdba?

    How to change password of sys user connected as sysdba?
    I have connected with user name sys as sysdba in oracle 9i with password oracle.
    I want to change the password . I typed password and pressed entered. It asks me to type old password, then new password and retype the new password. When I press enter it gives error message "ERROR:
    ORA-28008: invalid old password"
    Password unchanged.
    does anyone know about this...? how to change the password..?

    You may be using operating system authentication to log in as sys with sysdba privileges.
    By using password utility, you can change the password of sys user (which is in database) which is "change_on_install" when you create a database.
    You can change this password.

  • How to change password of OPERATIONS user in EBS 12.1.3

    hi
    i m using EBS 12.1.3 on RHLE 4
    i want to change password for OPERATIONS user for security reasons.
    i tried FNDPASS utility but it doesn't workout.
    kindly help
    thnx

    L5806633.log LOG as follows
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    module:
    Current system time is 15-JUN-2011 13:40:15
    This password is not managed by Oracle Applications so it can not be changed here.
    Concurrent request completed
    Current system time is 15-JUN-2011 13:40:15
    ---------------------------------------------------------------------------

  • Password for Oracle user , sys , system , saprpd

    Hi All ,
    I just join a new company as sys admin . I tried to search password for Oracle user sys , system and saprd in my company password file . Those users password are not stored.
    Am I supposed to know those oracle user password ? If yes , Can I find them in my Unix system or sap application ?
    Please help !
    Felix

    It is not possible to determine the passwords if you don't know them. But perhaps note 562863 and the described default passwords are useful. Furthermore you can always change passwords if you have SYSDBA privilege using "alter user ... identified by ..." or "brconnect -f chpass".
    Regards
    Martin

  • How to change password for a user in WLS 7.0 embedded ldap in code?

    I asked the similar question before but don't have an answer yet.
    I need to change password for a user in my Java code. Any help will be
    appreciated.
    Here is my stack trace:
    c:\Test>java -classpath . testEmbeddedLdap
    attribute: uid
    attribute: description
    attribute: objectclass
    attribute: wlsMemberOf
    attribute: sn
    attribute: cn
    javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
    Access Rights]; remaining name
    'uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2872)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2810)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1374)
    at
    com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDir
    Context.java:255)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Partial
    CompositeDirContext.java:172)
    at
    com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(Partial
    CompositeDirContext.java:161)
    at
    javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.
    java:146)
    at testEmbeddedLdap.main(testEmbeddedLdap.java:30)
    Here is my testing code:
    <PRE>
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class testEmbeddedLdap {
    public static void main(String[] argv) {
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://localhost:7001");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "uid=myAdministrator, ou=people,
    ou=myrealm, dc=mydomain");
    env.put(Context.SECURITY_CREDENTIALS, "myAdministrator");
    try {
    DirContext ctx = new InitialDirContext(env);
    String
    sUser="uid=myRegularUser,ou=people,ou=myrealm,dc=mydomain";
    String sOldPassword="myRegularUser";
    String sNewPassword="newpassword";
    for (NamingEnumeration ae = ctx.getAttributes(sUser).getAll();
    ae.hasMore(); ) {
    Attribute attr = (Attribute)ae.next();
    System.out.println("attribute: " + attr.getID());
    ModificationItem[] mods = new ModificationItem[2];
    Attribute mod0 = new BasicAttribute("userpassword",
    sOldPassword);
    mods[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE,
    mod0);
    Attribute mod1 = new BasicAttribute("userpassword",
    sNewPassword);
    mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE, mod1);
    ctx.modifyAttributes(sUser, mods);
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    </PRE>
    "Neil Smithline" <[email protected]> wrote in message
    news:[email protected]...
    Two things. First, I'm not exactly sure what password you are trying to
    change. The LDAP server's password or a user's password in the LDAP
    server. Second, could you please post a stack trace.
    Thanks - Neil
    K Wong wrote:
    I am using (javax.naming.directory.DirContext.modifyAttributes) to
    change
    password to our development Weblogic 7.0 embedded LDAP.
    I login as the system administrator (a user in the administratorsgroup),
    but always gets the javax.naming.NoPermissionException - InsufficientAccess
    Rights.
    What user should I use? Any help will be appreciated.

    Hai,
    This condition based execution requires - javascript coding.
    In miscelleaneous tools bar, you have an option of SCRIPT_ITEM writer tool, drag the tool into your WAD layout, and select the properties , choose the editor option and paste your coding. that's it.
    Alternate option :
    in your web application design layout , you will fine XHTML coding editor , there you need to write coding and execute the same.
    Hope this will help to you.
    Assign Points if its really useful.
    Cheers !!!
    Bye
    Regards,
    Giri

  • What is the password for 'oracle' user created during XE installation?

    Hi,
    What is the password for 'oracle' user automatically created when XE is installed?
    I installed XE on Linux and it's created under 'oracle' user, but I don't know 'oracle' password. So, I cannot stop TNS listener.
    During configuration, it prompted me to enter SYS and SYSADMIN password but it didn't ask me to enter 'oracle' user password.
    Please let me know or point me to the document.
    Thanks,
    N

    Hi Jari,
    I tried your suggestion, but it didn't work unfortunately.
    When I type (sudo su -oracle) as follows, it still prompts the password. When I hit Enter key w/o anything, it seems to proceed and the prompt shows up in the following line. So, I thought it was successful, but when I checked 'whoami', it's not logged in as 'oracle'.
    So, I created the password for 'oracle' and logged in as 'oracle' using a new password. Then, I stopped TNS listener to uninstall XE.
    It would be nice if it's documented in XE document somewhere... since it's created by XE installation, I assumed some kind of default password was used.
    Thanks,
    N

  • Changing passwords of OS Users

    Hi Experts!!
    I need to change passwords of OperativeSystem users (<instance>adm & SAPService_<instance>), the question is if it could affect portal functionally ??
    Or there is something that I have to change into the portal?
    Thanks in advance!
    Yolanda.

    this should help !!
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/4a0640d7b28f5ce10000000a155106/content.htm

  • I am unable to change passwords for any users.  The "change password" is grayed out.

    I am unable to change passwords for any users.  The "change password" is grayed out.  I know there is a way to change them but I am having trouble finding it.
    Message was edited by: dmw1975

    If you're in the Users pane of the server app, and you select Network Users from the drop-down near the top, there's a small padlock icon at the bottom. Is it locked or open? If locked, click it and enter credentials into the authorisation box that opens

  • How to change password for sidadm user on HP-UX

    Hello
    How to change password for <sidadm> user on HP-UX

    Hello Jan,
           1.      Log on to the operating system with the <sid>adm user.
           2.      Open a shell.
           3.      Enter the command passwd.
           4.      Enter the old and new passwords
    Rohit

  • How to change password for apple user id

    how to change password for apple user id

    If you can't remember your current password then you should be able to get it reset via this page : http://iforgot.apple.com
    If you know your current password then on your phone you can try tapping on your id in Settings > Store and you might be able to change it on your account's screen, or on your computer's iTunes you can log into your account via the Store > View Account menu option and change it on there

  • How to change password for  XELSYSADM user in OIM?

    Hello Gurus and Experts!
    How to change password for XELSYSADM user in OIM?
    Your help is appreciated.

    Follow the undermentioned steps to change the password:
    1) Change the password from oim Design Client as usual.
    2) Open xlconfig.xml present in <XL_HOME>\xellerate\config folder.
    3) This step is optional and should only be used if you have a <XLPassword encrypted> tag in the <Scheduler> section. In the scheduler section, change the encrypted="true" to encrypted="false" and replace existing encrypted password with new clear text password, as shown below:
    <Scheduler>
    <XLUserName>xelsysadm</XLUserName>
    <XLPassword encrypted="false">NEW_PASSWORD</XLPassword>
    </Scheduler>
    4) Restart server.
    Now login with the new password.

  • How do i change password in Oracle Discoverer Administrator??

    My Password has expired, how do i change password in Oracle Discoverer Administrator??
    Thanks in advance ??
    Regards
    Raja Hyderali

    Thanks Michael.
    Metalink (Note:290279.1) suggest the option of changing password, after you logon. I could not find any way of changing the password when it is expired.
    Thanks all for your suggestions.
    Regards,
    Raja Hyderali

  • Considerations to change LINUX and Oracle users passwords

    Dear friends
    i want to change password to the following accounts in my oracle servers:
    - oracle, OS linux user.
    - system, db oracle user
    - sys, db oracle user.
    but, i want to know what considerations must i have in order to do it that.
    VERSIONS:
    - Oracle Database 10g Release 10.2.0.1.0 - Production
    - Red Hat Enterprise Linux AS release 4 (Nahant Update 4) 2.6.9 5.ELsmp (32-bit)
    thanks a lot.

    Madrid, and everybody.
    does anyone knows ...
    - What is the number ID (note) in metalink where are the default account passwords when installed Oracle default database ??? (some days ago i saw but i don't remember the note)
    - Are there any link when describe any consideration about OS LINUX users like "root" and "oracle" ?
    i must to view that document in order to present my boss.
    Thanks a lot !!!!

  • How to Enforce User Change Password First Time User in Release 2?

    Hi...
    We discovered in Oracle Directory Manager(in unix is oidadmin), there actualy
    column to expiry date.(the default is 60).
    We follow this notes in metalink..
    Note:176470.1 Subject: How To Pre-Expire Portal Passwords
    Even though the note is for Portal30(release1), we just wangt to try it in our Release 2...
    Extract from the note
    "3. Set the value of the column LAST_PASSWD_CHANGE_TIME in the table WWSEC_PERSON$ in SSO schema to a value older than the password expiration period (default is 90 days) before the current time (e.g. sysdate - 100) for the appropriate user(s)
    4. For example, if you have created a user called TEST
    you would issue a command such as:
    update wwsec_person$
    set LAST_PASSWD_CHANGE_TIME =sysdate-70
    where USER_NAME='TEST';
    commit; "
    But, when we try to login again in the portal, we can still login...
    So, is the function still exist in Release 2?..
    If not, why Oracle Portal throw that function away?
    Why there still columns in WWSEC_PERSON$ that maybe linked to the password problem?
    can anybody help/explain?
    Thanks....

    Rather than rehash what has already been thoroughly discussed, check this thread. This should answer your question.
    Can a user change his own password after admin has set it
    The english version of Jose Troya's blog: http://obiee101.blogspot.com/2008/08/obiee-change-password.html
    Edited by: LC143 on Aug 27, 2008 1:36 PM

  • How to trigger and change password for AD user after form based login

    Hello,
    We are authenticating against Active Directory with Weblogic 10.3 using FORM based security. Everything is working. I need to now change a password for an authenticated user. For example, I have set a user to have their password expire on next logon from the AD side. The user logs in but somehow I need to trap some info from Active Directory (or an LDAP conversation) to figure out if I need to force the user to change password.
    Do I need to start looking at custom code with LDAP Java SDK's or can I use a canned MBean from Weblogic Server.
    I am looking at http://www.mozilla.org/directory/ for LDAP.
    Can I set/reset an AD user's password with an MBean like the following link?
    http://download.oracle.com/docs/cd/E13222_01/wls/docs92/javadocs/index.html?weblogic/management/security/authentication/UserPasswordEditorMBean.html
    If anyone has any experience with this or can point me in the right direction let me know.
    If anyone else is interested please add to the tread and I'll be sure to keep the found solution(s) updated here.
    Thanks...........
    JJ Everett

    Hello JJ
    Please see document ID 403484.1 in http://metalink.oracle.com. This may help to understand what you are aiming to do. Cheers
    -- Nathan

Maybe you are looking for