Not able to connect after changing the password using ALTER VALUES clause

Hi,
Just now John explained about VALUES clause in below thread.
Expired Status
I created a new account called SURI and tried to use the user account HR's password using VALUES clause. I was able to alter the password but not able to connect SURI with hr password.
Please see the version details below. And the SQL statements which I have tried.
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 13 18:44:50 2012
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> SELECT password
  2  FROM dba_users
  3  WHERE username = 'HR';
PASSWORD
4C6D73C3E8B0F0DA
SQL> ALTER USER SURI IDENTIFIED BY VALUES '4C6D73C3E8B0F0DA';
User altered.
SQL> SELECT password
  2  FROM dba_users
  3  WHERE username='SURI';
PASSWORD
4C6D73C3E8B0F0DA
SQL> conn suri/hr     -- HR account's password is hr only
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SQL>Thanks,
Suri

Suri wrote:
Hi,
Just now John explained about VALUES clause in below thread.
Expired Status
I created a new account called SURI and tried to use the user account HR's password using VALUES clause. I was able to alter the password but not able to connect SURI with hr password.
Please see the version details below. And the SQL statements which I have tried.
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Aug 13 18:44:50 2012
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> SELECT password
2  FROM dba_users
3  WHERE username = 'HR';
PASSWORD
4C6D73C3E8B0F0DA
SQL> ALTER USER SURI IDENTIFIED BY VALUES '4C6D73C3E8B0F0DA';
User altered.
SQL> SELECT password
2  FROM dba_users
3  WHERE username='SURI';
PASSWORD
4C6D73C3E8B0F0DA
SQL> conn suri/hr     -- HR account's password is hr only
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SQL>Thanks,
SuriYou can only do it for the same user, as the password is a hashed value that includes the username as part of the hashing (It's either the username or some internal object id or something). So using the hashed value against another user won't work.

Similar Messages

  • Mac pro suddenly is not able to start after accepting the password

    for some reason after the last time i did a shutdown the mac now does not start up. I enter the password ,( correctly , i checked for caps lock etc..) it seems to accept it and then it blinks and takes me back to the login . The same thing happens on the guest account I had set up. different password entered correctly.
    OS is the lastest 10.7 with all the updates.

    yes , that was probaly the case, though swore i had used shift when starting. Anyway I then tried it again in safe mode but same result. I got into the hard drive and was able to track down the system log finally .
    I saw the following :
    May  7 16:43:19 aMac-Pro-4 SecurityAgent[117]: Login Window login proceeding
    May  7 16:43:20 aMac-Pro-4 loginwindow[62]: Login Window - Returned from Security Agent
    May  7 16:43:20 aMac-Pro-4 loginwindow[62]: AuthorizationRef returned an error (100022), with username = MYUSERNAME
    May  7 16:43:20 aMac-Pro-4 loginwindow[62]: This indicates that a SecurityAgent plugin has returned something other than errAuthorizationDenied (usually cancelled) after the auth record is set up.
    May  7 16:43:20 aMac-Pro-4 com.apple.loginwindow[62]: AuthorizationRef returned an error (100022), with username = MYUSERNAME
    May  7 16:43:20 aMac-Pro-4 com.apple.loginwindow[62]: This indicates that a SecurityAgent plugin has returned something other than errAuthorizationDenied (usually cancelled) after the auth record is set up.
    looking around for this 100022 error i found a solution that worked for someone else with the same issue and tried it:
    I was able to fix this by using the terminal (either in recovery or singler user mode) and removing the file /var/audit/current. It's supposed to be a symbolic link pointing to the most recent file, but it seems like it gets corrupted.
    So for the single-user fix:
    Reboot and hold Command+S for singler user mode.
    Once you get a command prompt mount the partition for write access
    /sbin/mount -uw /
    Then remove that file.
    rm /var/audit/current
    Sure enough i removed the corrupted file and it works like always, I can boot type in my password and I'm back in action.
    Now I am just left wondering how the corruption happened?  any ideas?
    Thanks for all of you who looked at this
    Rich

  • Not able to change the password using FNDCPASS

    I am not able to change password using FNDCPASS. I am getting follwoing error while executing following command with APPLMGR user ( before that I have source the .env file ) (OS-Linux)
    [applmgr@ora11 /]$ FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME
    Log filename : L2741743.log
    Report filename : O2741743.out
    APP-FND-01630: Cannot open file L2741743.log for appending
    Cause: FDPFOP encountered an error when attempting to open file L2741743.log for appending.
    Action: Verify that the filename is correct and that the environment variables controlling that filename are correct.
    Action: If the file is opened in read mode, check that the file exists. Check that you have privileges to read the file in the file directory. Contact your system administrator to obtain read privileges.
    Action: If the file is opened in write or append mode, check that you have privileges to create and write files in the file directory. Contact your system administrator to obtain create and write privileges.
    Can some one pls guide me on this

    Duplicate post-
    Not able to change the password using FNDCPASS
    Please post only once.
    Thanks,

  • HT204368 I am having trouble pairing my iPhone4 with bluetooth device. It was connected but is not able to connect after both devices were shut and then switched on, as per Apple instructions. phone does find any bluetooth device closeby. how to fix?

    I am having trouble pairing my iPhone4 with bluetooth device. It was connected but is not able to connect after both devices were shut and then switched on, as per Apple instructions. phone does find any bluetooth device closeby. how to fix?

    NovaRiddle wrote:
    I am having trouble pairing my iPhone4 with bluetooth device. ...
    Depends on the device...
    Have a look here for Supported Bluetooth Profiles
    http://support.apple.com/kb/HT3647

  • Not able to connect N70 to pc(xp) using ca-53 cabl...

    Not able to connect N70 to pc(xp) using ca-53 cable
    hi i am having this trouble from a year... i am unable to connect my phone n70 using cable to my pc,.,. even after installing all drivers n pc suite n havin it reinstalled also n again doin d same process.. its not getting detected at all.. please help me out... pleaseeee..been tryin 4m a year..nevr checkd des forumss.. hopin som bdy ll help ,me out.. !!!. !!!!

    The DKU-2 cable is no longer supported and so cannot be guaranteed to be compatible with current PC Suites, you should be using either your current CA-53 or the CA-70.
    Have you had the chance to connect any other phone with the PC using this cable? This would test if thr cable itself might be faulty.
    Otherwise remove PC Suite, PC Connectivitiy Solution and Connectivity Cable Drivers from control panel, run the PC Suite Cleaner program that you can get from the PC Suite support pages on the web site, then reinstall everything.

  • Can't log in (Mac OSx 10.6.6) even after changing the password 8 times!

    Not happy.I can't believe how hard it is to get support from Spotify for a service I am paying them for! Having to trawl through chat rooms is not customer care! Basically, I can't log into Spotify even after changing my password. I am at work but the tech bods say it should work fine (always has done until now). I just need someone to let me into the service I am paying for!If anyone see's anyone from Spotify hiding anywhere, please let me know.  

    If I follow that link you just sent me and use my email address for the username (I don't have/ can't remember my username) and put my password in it doesn't work. If I use my email and password to log in (using the link sent to my email to reset my password) it logs in fine. It doesn't recognise password on the Spotify App

  • Apple does not send a request to change the password on the email

    I forgot the password for this account. but I'm on the side of the iforgot look but you do not send e-mail to confirm the password change. Now I do?
    Please help!!!!!

    You've checked the spam folder as well as the inbox on your primary email account, and if you have a rescue email address on your iTunes account then you've also checked that email account ?
    If you still can't find it (and you've tried re-requesting the reset email and you can't reset your password by answering your security questions) then you will have to contact Support in your country to get it reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    If your country isn't on that page then try this form and explain and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html

  • By mistake I have changed the password using iChain but the website still utilises the old password that iChain originally created. How can I find out the original password that was created?

    I created a password using iChain whilst on a website where I have an account. For some reason, I needed to change the password and it seems that the website can only be accessed using the original chain password. I do not have a record of it and it is not in my iChain password list. Can I find what historical passwords were used?

    i am also have the same thing how can i get they out from my game center ?

  • I am not able to display or change the file after deleting the file

    Hi All,
    I am checking in the document to content category while creating the DIR.
    I tried to delete the file on my desktop and after i am unable to open the file in CV02N,It gives the below error:
    Error while executing "C:\
    Firdosi\Desktop\gg.txt"
    I changed the settings in define workstation applications also and i ticked on Data check of.
    Please advice.
    Muzamil

    Hi Muzamil,
    The error is occuring because you have not checked-in the document before deleting. First you need to save the DIR and then you can delete the file from your desktop. Then only SAP DMS can retrieve the file from content server and display on screen.
    If you have only selected the file which is not checked-in means DIR not saved. And suddenly you tried to delete the original file from desktop. It means the recod is not saved in SAP DMS and before that you have tried to delete it.
    This is standard behaviour and such type of files can't be retrieved from content serever as it's original is not saved properly i.e. checked-in.
    Hope this will resolve the query.
    Regards,
    Ravindra

  • Failed to open the connection after changing the connection in CMC

    Hi
    Below are our environment details:
    BOXI 3.1 SP3
    Solaris Sparc 10
    Crystal Reports 2008 Sp3
    Weblogic 11g
    Our team is facing the problem as described below:
    We have created Crystal Reports using JDBC connection and it works fine
    in an environment(SIT).
    When we migrate these reports to the another environment(UAT) we get
    the error "Failed to open the connection"
    After migrating we indeed change the connection to Custom Database
    Login Information in CMC.
    So to troubleshoot we installed Crystal Reports in UAT environment and
    had to perform Set DataLocation after which
    the reports starting working fine.
    Now when we are migrating reports to Production we have the same issue.
    We cannot install Crystal Reports on Production this time and hence we
    are stuck.
    Please let us know if any known workaround or solution for the same.
    Thanks
    Kamal
    Edited by: Kamalaksha Shetty on Nov 15, 2011 4:18 AM

    Hi Meenal,
    I am not 100% sure I understood the workaround of having Crystal Designer on the server. Can you connect from UAT designer to production and perform the same operation?
    Check this KBA that describes this problem and a solution:
    https://service.sap.com/sap/support/notes/1445067
    Regards,
    Julian

  • I can no longer send emails from my iPad after changing the passwords for my BT Yahoo account on my iMac

    I changed my passwords for my BT Yahho email on my iMac following  my accouts being hacked.  Email works fine on my iMac, and I receive emails OK on my iPad, but cannot send them from the iPad.  Am not sure what to do.  I found the BT help pretty useless.  Any suggestions please?

    Did you go deep enough into the settings? Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • I have an old Apple ID connected to a discontinued e-mail address.  I want to delete it.  I cannot remember my password and when I try to change the password using the security questions, it rejects my birth date!  I can't change it by cancelled e-mail.

    I have an old Apple ID associated with a discontinued e-mail address.  It keeps popping up when I try to update apps.  I don't remember the password.  When I try to change it by security questions, it rejects my birthdate!  I can't change it by e-mail because I no longer have access to the e-mail.  All I really want to do is cancel this old ID.  How can I do this?  Obviously, I have a new ID, since I am using this support community.

    You'll have to contact iTunes store support to see if they can help you with this: http://www.apple.com/emea/support/itunes/contact.html.

  • Migration Assistant created new account to deposit all my stuff, but I can't access that account, even after changing the password via the main acct'

    I am at my wits end.  The migration assistant created a new profile (I didnt konw that it would do this) and now I can't get into that profile with all the stuff from my old PC. 
    I have tried changing password via the main account, but to no avail.  I have researched issues with Keychain, but all it tells me to do is change the login password - that doesnt work either - I cant get to all my files.

    Migraine Assistant it's called.
    Delete the account from the main one, create a new account and transfer files manually via a regular FAT external drive you pickup at any office or computer store, Mac's can read it.

  • Exchange management console not able to access after rename the administrative AD account

    I had an administrative user account(AD Admin a/c) KXP004 that
    recently rename as RPS001
    The account which was working fine before renaming and was able to access the exchange console. Since I rename the account, everything is working fine except the exchange management
    console.
    When trying to access the EX Management console displays an error message saying it cannot find the new name. What can we do to make the exchange management
    console work for the renamed account? Please assist.

    Hi Sherieftkl,
    After renaming the administrator account in AD, did you log off and then log on by using the new administrator name? Please log on again and monitor the result.
    In addition, please also open Event Viewer and check if find some related events.
    -->Since I rename the account, everything is working fine except the exchange management console.
    By the way, if this issue just occurred for EMC, I also suggest that you should post the question in
    Exchange Forum. I believe we will get a better assistance there.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Not able to connect to remote MySQL database using Connector/J

    I have an application that uses a connection pool for database access.
    It is initialized with this context.xml entry:
    The db server is running on port 3307.
         <Resource name="jdbc/DB" auth="Container"
                        type="javax.sql.DataSource" username="un" password="pw"
                        removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"
                        driverClassName="com.mysql.jdbc.Driver"
                        url="jdbc:mysql://localhost:3307/myDB"
                        maxActive="8" maxIdle="4"/>Now after starting the context, I can see I have a connection to my database using the MySQL Administrator. So I know I am connecting.
    The problem is, when I try to query any table in the db, I get this message:
    java.sql.SQLException
    : Table myDB.TABLE_NAME' doesn't exist
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    MysqlIO.java:2921) ...
    I know it does in fact exist because I am looking at it. And the code I am using works perfectly fine as long as it is running on a local db server.
    Any ideas?

    I know it does in fact exist because I am looking at
    it. And the code I am using works perfectly fine as
    long as it is running on a local db server.
    Any ideas?Yes two.
    I am bit unclear about the last thing you said... you are testing with two different servers or two different clients?
    Anyway here are the possibilities off the top of my head.
    1) Some sort of security issue. Surrounding who and from where users can connect to the database in question.
    2) Case sensitivity problem. On Windows MYSQl makes all it's table names lower case only. Then it onlu supports the correct case to access them.
    For example
    CREATE TABLE TestMe
    Can then only be accessed with
    SELECT * FROM testme
    Not TestMe.
    This appears to vary with version but i have seen this issue before.

Maybe you are looking for