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

Hello

John explained earlier the clause VALUES below thread.

Status expired

I created a new account named SURI, and tried to use the password of the user account from the HR by using the VALUES clause. I was able to change the password but not able to connect SURI with HR password.

Please see below for details. And the SQL statements that 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>
Thank you
Suri

Its because you have used a different username.
Oracle produces a hash based on the user name and the password, not only the password.

Therefore, you can not use the hashed password of a user to log on to the account of another user.

You need to get the password hashed Suri and then connect you to suri by using the password hashed Suri (using the identified by the syntax of values)

Tags: Database

Similar Questions

  • HP Deskjet 710C does not print colors (also after changing the cartridge with a new one)

    HP Deskjet 710C on Windows XP

    Problem: Printer does not print color. Black printing works. It also does not print color now, I changed the color with a new cartridge. Remove the printer from Windows XP and reinstall also does not resolve it. Also by using the option in Windows/printer driver for the cleaning cartridge has failed. Anyone know a solution to this?

    There is a document about the lack of color of the issues on the printer Deskjet 710C that can be found here.

    I hope this helps!

  • servers managed not able to restart after changing password in console

    IM doin the following the steps, I'm doing something wrong?
    all the 1) stop managed servers
    (2) change pwd in the administration console
    file boot.properties edit 3) with new pwd in server admin
    copy 4) these boot file on each managed server
    (5) now restart server admin. (able to do successfully)
    (6) not able to restart the managed servers (im getting the following error.
    Can any help me please very urgent?


    < critical > < WebLogicServer > < BEA-000386 > < server subsystem failed. Reason: weblogic.security.SecurityInitializationException: authentication refused: Boot identity not valid; The user name and/or password in the identity of startup file (boot.properties) is not valid. The identity of start-up may have changed since the identity of boot file was created. Please edit and update the identity file to start with the correct values of username and password. The first time that the identity of starting update file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: authentication refused: Boot identity not valid; The user name and/or password in the identity of startup file (boot.properties) is not valid. The identity of start-up may have changed since the identity of boot file was created. Please edit and update the identity file to start with the correct values of username and password. The first time that the identity of starting update file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization (unknown Source)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize (unknown Source)
    at weblogic.security.service.SecurityServiceManager.initialize (unknown Source)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. check the log file full stacktrace

    < Opinion > < WebLogicServer > < BEA-000365 > < changed failed State Server >

    Hello

    (* 1) to export the data from the user on the server, I need to create a specific directory to save this data in the server messagerie.*
    Yes... You can give any path of directory existing in the AdminConsole export Page... Any directory in your file system.

    (* 2) y at - it another way to not export or import data? *
    It is the only way to prevent the loss of data... There are other ways to do it without using the administration Console as WLST using or using JMX, you can export data, but all of these techniques will do exactly the same thing... The AdminConsole is the best way to do it.

    .
    .
    Thank you
    Jay SenSharma
    http://middlewaremagic.com/WebLogic/ (Middleware Magic Is Here)

  • BLACK ink cartridge does not come back up after changing the cartridge.

    I replaced the cartridge a few days ago and it was printing fine, but today, I tried to print something

    and it was like all other lines... lines, it wasn't like there was just a spot of ink on the

    paper anywhere in the line.  After detach the cartrdige, can't do it back up again in the printer.

    What could be wrong?

    Hello.

    It would be useful to know what model of printer you have.

    See you soon.

  • ACS 5.6 not able to add or change the device

    Hi all

    CSA 5.6, Patch 5-6-0-22-2 installed, try to add or modify a device, as a result of the disconnected session, displaying "user logged out successfully!

    Does anyone have experience with this issue or any idea how to proceed with this. It looks and works like the script of the Submit button is changed with the output script.

    I'm starting to encounter this problem after upgrading from 5.4 to 5.6 and above all the mentioned patches.

    All already added devices work perfectly.

    Thanks in advance

    ACS GANYMEDE + global settings page GUI is disconnected
  • OAM11.1.1.5 - Dual fast connection after changing the system for OID store

    Hi all

    I could miss an important step probably, when configuring the OID as system store.
    I'm a double prompt to connect to the admin console.
    Please let me know if anyone has experienced this before.

    Concerning
    Vicky

    Hi Vicky,

    Yes, it happens, but if you add OID as a supplier for Weblogic authentication, then you should be at a single command prompt. I'm sure that there is a Note about it on MOS, but I can't find at the moment, the main steps are:

    -Log in to the WLS/console
    -go into Security Realms/myralm
    -Add your ldap as an authentication provider instance and set it to OPTIONAL (and the default provider for SUFFICIENT)

    These steps are necessary because /oamconsole use some of the features provided by the underlying WLS console - resources on WebGates, you won't see the double prompt if you perform the steps above.

    Kind regards
    Colin

  • Cloned VM will not match its files after changing the name, svmotion

    Recently, I've cloned a VM, lets say "server1" "clone server 1.  Once the original virtual machine has been removed, the full name of "server1 clone" has been renamed to "Server1."

    OK, generally, to match the files of the virtual machine to its full name, I have storage vmotion virtual machine data to another store.  (Directions: http://kb.vmware.com/kb/1029513)

    Well, that didn't work.  All the files still say 'server1 clone' hard, .vmx, etc etc.

    Running vSphere Enterprise Plus 5.  Is my only way to 'fix', that is to use the console?  Eeek...

    Furthermore, the virtual machine in question is our vCenter server.

    Thank you.

    Known issue: http://kb.vmware.com/kb/2008877

    / Rubeck

  • After changing the administrator password in windows server 2003, I can not connect the next day why?

    After changing the password in windows server 2003, when the new password take effect?

    Hello

    In dealing with the problem with Windows Server 2003, it would be preferable to send the same in the Technet community. http://social.technet.Microsoft.com/forums/en-us/smallbusinessserver/threads

    Hope the information is useful.

  • gSynchit does not open after changing the password

    GSynchit has stopped working. I changed the password of email account, but the program does not open if I can change the settings.

    Hello

    1. what operating system do you use?

    2. What mail client do you use?

    3 did you receive an error message when you try to run gSychit

    If you use windows7, I suggest you follow the link and check.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

  • Not able to connect to the homegroup, it requires username and password

    Original title: h/group connection on my year old d/top & my l/top 6 months, does not. Says I need a/c p/word-WHERE is it? I need to change the system time that is differs from earlier local. - thank you - Stantheman

    Both computers are windows 7. Recently uploaded photo gallery on both, but because they won't talk to each other, I have to copy / paste from one to the other...

    I'm 79 and reasonable computer. Daughter 51 tried very hard, but without success.

    Hi Stanley,

    Welcome to the Microsoft community. As you are not able to connect to the Homegroup, answering a question that helps us provide the best solution:

    What antivirus software do you use?

    Here are a few steps to try:

    Visit the link to check if the homegroup settings is set correctly:

    Homegroup from start to finish
    http://Windows.Microsoft.com/is-is/Windows7/help/HomeGroup-from-start-to-finish

    Method 1:
    Visit the link and try the troubleshooter.
    Open the homegroup troubleshooting utility
    http://Windows.Microsoft.com/en-us/Windows7/open-the-HomeGroup-Troubleshooter

    Method 2:

    Visit the link to learn more ways to connect to the Homegroup.

    Why I can't join a homegroup?
    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-join-a-HomeGroup

    Hope this information helps. If you have any other questions feel free to respond and we would be happy to help.

  • Printer problem - after changing the cartridge, I get a message that the USB cable is not connected

    As above. I checked the USB port and it is connected.

    Original title: printer problem. After changing the cartridge, I get a message that the USB cable is not connected?

    Hello

    1. you receive an error message/code when you try to print?

    2. What is the serial number and model of the printer?
     
    Follow the steps.
     
    Method 1
    Run the hardware and devices Troubleshooter
    This utility checks the common issues of interest and ensures that a new device or hardware connected to your computer has been installed correctly.
    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Also run convenience store Print that would help us diagnose the problem better
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Method 2

    (a) check the physical connection of the printer and make sure that the USB cable is properly plugged.

    (b) connect the printer to a different USB port and check if it helps.

    (c) check the on another computer.

    Method 3

    Run the fix - it tool from the link.

    Diagnose and automatically fix problems printing and printer http://support.Microsoft.com/mats/printing_problems/

    Method 4
    If the previous step fails, follow the steps described in the following link:
    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows
     
     
    Let us know if it helps.

  • I am not able to connect to the vcenter installed on the local host after restarting the Windows 2008r2

    Hi, I'm a newbie to Vcenter.  I just found out that I am not able to connect to the vcenter installed on the local host after restarting the Windows 2008r2

    Hello Cy1989,

    Check the items below in your vCenter server.

    1. check that VMware VirtualCenter Server service is started otherwise starts pls start...

    2 Vefiry VMware VirtualCenter Management Web Services is started otherwise start pls start...

    3. check that the configuration of the ODBC Data Source (DSN) used to connect to the database for vCenter Server is correct.

    4 Vefiry database are running and all required database services are running...

  • not able to connect a printer shared in task force gives the access error is to deny cannot coonect

    not able to connect a printer shared in task force gives the access error is to deny cannot coonect

    Hello

    1. don't you make changes on the computer before this problem?
    2. What is the brand and model of the printer?
    3. What is the full and exact error message?
    4. have you set a password to the shared printer?

    Please answer these questions and provide us with more information. This could help us help you better.

    See the articles that may be useful.
    "Access denied" error message when you print to a network printer, or view the properties of the printer
    http://support.Microsoft.com/kb/307053
    Cannot use network printer if your password is not saved
    http://support.Microsoft.com/kb/312055

  • I am not able to connect to my computer with my password, it tells me to connect using my administrator password.

    I am not able to connect to my computer with my password, it says Séverine using administrater password but it is not the password of accomplishments and keeps telling me to enter my password. After several attempts to connect to my computer it stops. What can I do?

    Hello

    Press twice CTRL + ALT + DELETE (at the same time), you will get the classic quick and allows you to enter your user name.

    I hope this helps.

  • Not able to connect to the server via the AFN TCP

    Hi all

    After Googling carefully I finally decided to post my problem which is really sent me nightmares.

    In my application, I try to connect to a TCP server by using the operator of internet network and after the connection string

    URL = "socket: / /" + ip + ":" + port + ";" deviceside = true; connectionTimeout = 30000; APN =; tunnelauthusername =; tunnelauthpassword =; » ;

    I am able to connect to the internet using the phone's browser, but not able to connect to the TCP server via app.

    In my device APN authentication is disabled by default and the AFN, the name of user and password fields are white that's why I took these settings like white with a value in the connection string.

    When I try to connect via wifi network using the suite of string

    URL = "socket: / /" + ip + ":" + port + ";" deviceside = true; interface = wifi; connectionTimeout = 30000;

    I am able to connect to the server, but not in the case via the AFN.

    Please help me...

    I'm here just stuck and not finding a way out.

    Thank you

    Finally I found the solution to the problem...

    I used ConnectionFactory (network API) to connect to the TCP server and the used connection string is just

    'socket://127.0.0.1:8089 '.

    No need to specify the APN, user name, and password.

    Here's the code used

                     ConnectionFactory connFact = new ConnectionFactory();
                      ConnectionDescriptor connDesc;
                      connDesc = connFact.getConnection("socket://127.0.0.1:8087");
    

Maybe you are looking for