List of usernames and password who are same

Hi,
I have created several user with the default password same as the username. They are suppose to change their password. But Some of them have not changed their password.
Now, I want the list of those database users who has the same password as thier username. How can I find it??
I really appreciate if you help me.
Thanks,
Api

Why don't you create some temporary db links using all username and same password as usernames. Then whichever db link allows you to select the data will be the one having same password. Following scripts with some tweaking might be helpful
--creating db links
begin
for rec in (
select * from dba_users where username NOT IN ('SYS','SYSTEM') --exclude other system users
loop
execute immediate 'create database link '||rec.username|| '_lnk connect to '||rec.username ||' identified by '||rec.username ||' using ''<DB_ALIAS>''';
end loop;
end;
--printing usernames where username and passwrod are same
declare
v_name varchar2(100);
begin
for rec in
(select * from dba_db_links where db_link like '%lnk')
loop
begin
execute immediate 'select global_name from global_name@'||rec.db_link into v_name;
dbms_output.put_line('This link uses default username and password '||rec.db_link);
exception
when others THEN NULL;
end;
end loop;
end;
Regards,
Nitin

Similar Messages

  • Print list of usernames and passwords

    I want to print out a list of usernames and passwords. How to do this please

    Hi tclarkee, you can use the Password Exporter extension to export the decrypted passwords to a file and print this file.
    Password Exporter: https://addons.mozilla.org/firefox/addon/password-exporter/
    See also "Printing passwords" :
    http://kb.mozillazine.org/Password_Manager

  • Check if username and password passed are valid?

    hi,
    i've been asked to create a shell script that accepts a username and password which i then need to check against the database..
    but the script won't be running any sql commands.. it will run another script that also accepts a username and password.
    what i have so far
    sqlplus -s $ora_user_pass << EOF
    set echo off
    set heading off
    select sysdate from dual;
    exit
    EOF
    ret_code=$?
    if [ "$ret_code" -gt 0 ]; then
      echo "Invalid username and/or password"
      exit
    else
    ....this works ok but it's a little dirty.. when the username and password are incorrect it shows a bunch of errors instead of the displaying "Invalid username and/or password".. this is coming from the sqlplus.
    i'd appreciate any other suggestions.
    thanks
    allen

    hi,
    the sqlplus version is...
    SQL*Plus: Release 8.0.6.0.0 - Production on Wed Apr 8 03:09:10 2009
    (c) Copyright 1999 Oracle Corporation.  All rights reserved.the error that i don't want displayed in the screen is...
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Invalid option.
    Usage: CONNECT <username> [AS SYSDBA|SYSOPER]
    Invalid option.
    Usage: CONNECT <username> [AS SYSDBA|SYSOPER]
    unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    Invalid username and/or passwordthanks
    allen

  • I can't get facebook to stop remembering my username and password.

    I've already cleared all of my history (pressed ctrl + shift + del and cleared everything, including active log-ins, site preferences, and cookies), I went on the security tab under options and tried deleting all saved passwords, and I've tried restarting the browser, but when I go to the facebook url, it still automatically lists my username and password. I've tried finding another solution, but all people keep saying is to clear history (which I've already done) and change saved passwords under the security tab (which I've already done).
    Are there any other options?

    Please '''mark solve YOUR reply''' to help other with same issue, tell us the add-on also.
    thank you

  • Remote DVR Hates Me - Continues To Reject Valid Username And Password

    Hi all,
    I mistakenly posted this message in the programming forum by mistake, so I'm moving it here now (sorry about that):
    For the past few days, I've been unable to login to the Verizon remote DVR from both my iPhone and the web. It had been working fine for months, then all of a sudden, when I try to login, I get the dreaded 'login failed. please try again."
    My Username and Password still work fine for Verizon Central, but for some reason the remote DVR login page won't recognize them. I tried re-registering my username and password, but that didn't work. I don't have any periods (or other weird characters) in my username. And as I mentioned, it had been working fine for months and months. Very frustrating.
    I called tech support. They couldn't help (seemed baffled and ill equipped to solve this type of problem).  The rep told me that Verizon was having some trouble with remote DVR (yet he had NO information about what the problem was or if there was a fix in the works). Is this true, Verizon? Is there an internal issue? He said he was going to connect me to someone who could tell me more. I said great. Then he connects me and I get a recording that says, "you've reached a non-working number in the Verizon system ..." NICE! 
    Is anyone else out here having trouble logging in to their remote DVR?
    One thing I noticed, the login page looks different. There used to be  2 radio buttons: one for ".com" and one for ".net." I don't see those any more. I wonder if that's part of the problem.
    I appreciate any help. Thanks everyone. And again, sorry for the double post.

    Hi Guys,
    Thanks for taking the time to reply.
    TROYH72: Yes, I'm painfully aware that the "http://m.verizon.com/tv" url is for mobile devices. It used to work fine on my iphone, but it no longer does. It constantly rejects my username and password (which are both valid). FYI, that same url used to work from my computer as well. 
    PJL: Thanks for your suggestion. I tried deleting the cookies and clearing the browser cache. No luck. I really think this is a problem on Verizon's end for a couple of reasons:
    1. The login page looks different to me now. As I mentioned, there used to be radio buttons for .com and .net. Those are gone.
    2. I have the same problem logging on from my computer as I do from the iphone. Seems odd.
    3. I can log in to "http://www36.verizon.com/fiostv/web/," and some other Verizon urls, but I can't access my DVR once I'm logged in. The only way I can access my DVR remotely is to log in through "verizon.com"  and do it the roundabout way. But as I mentioned in a previous post, that's really cumbersome from a mobile device.
    4. Maybe most importantly, the remote DVR used to work perfectly! And now it doesn't work at all on my iphone ("Login failed. Please try again.") And it's wonky from the web. And I haven't changed anything on my end.
    Maybe it's a Mac thing. I'm running Macs as well as an iphone. I know that sometimes, Verizon and Macs don't play nicely together. I'm at a loss. And it doesn't look my Ticket is making any headway.

  • Get DB Username and password from current connection

    Hi folks,
    I'm presuming this is something absurdly simple, i therefore offer my apologies in advance. my requirement is quite different from the very famous dynamic JDBC credentials example.
    I'm using Struts on a 10.1.2 implementation. We have numerous Oracle reports that we wish to call from Jdev (through a report server call). To provide the credentials to the Report server I need to provide the DB connection's username, password and SID. This I intend to do in a helper class in my web module.
    Is there a plain vanilla simple way of getting this done. I know "context.getApplicationModule().getTransaction().getConnectionMetadata().getUserName()" gives me the Database Username- just like that. Is there a similar way to obtain the password and SID as well. While getTransaction().getConnectionMetadata().getJdbcURL is also quite useful, how "for the life of me" do i get the password of the current DB connection (assuming I have an application module that is already connected). I basically wish to directly use connections from the application module directly without the need to manually specify/hard-code these credentials in my code.
    I've searched the forums and haven't been able to get the answer I was looking for (that or I;m searching in the wrong areas). Any help would be GREATLY appreciated.
    Cheers

    Hey Timo,
    thanks for that. I still have a couple of doubts.
    One the nature of the application is slightly different. we use independent usernames and passwords which are stored in the DB (different from DB username and password). The request(for the report-server call) comes only after the user is authenticated. Like you rightly said it's not a good idea to store the password and I'm pretty sure that option is completely ruled out.
    My questions is, given that the user already has an application module at hand which would mean he has a valid connection to "a" DB- (once again we have multiple DB scenario), I merely wish to use the information from the Connection that the application module is using to issue the request to the report server call. I take it the call to oracle reports server wouldn't accept a connect string, you necessarily have to provide the DB username/password and SID.
    My question now, is there anyway to obtain the password(or merely point my report server to this without requiring to store it) from the application module connection.
    I hope my query is clear, please let me know if what i'm saying needs to be clarified or doesn't make sense.

  • Maintaining username and passwords in RAM

    I need to be able to maintain a small list of usernames and passwords in memory after users logoff. I can't persist them to disk. What is the best object to use for this? I'm thinking some type of application object. I'm working with Weblogic and need to get a reference to this object. --Thanks for any help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    What type of app do you have - Web App, Client/Server?
    In either case, it seems you could create a container object during startup as a singleton and r/w the credentials to it.
    --BobC                                                                                                                                                                                                                                                                                                                                                                                       

  • Username and password: OLAP???

    To export metadata "BRIDGE" from OWB to OLAP required username and password, these are the sys, system? or for OLAP_DBA Role? so my usrer OLAPSYS are looked? what I have to make to export data? now still doen't export just ask to make shure that I make a correct thing.
    Thanks

    thanks for answer.server is running. Analyzer and spreadsheet add_in can connectted to the server correctly.I installed the EAS not as as a Windows service,and i cann't even login to the EAS console,and check the EAS log i remember there is some wrong with connect the Mysql services.yesterday i installed the EAS as as a Windows service,and have connect to the server correctly mannually.I don't know why I can't install the EAS not as as a Windows service now.

  • IWeb username and password problem

    I've published a few sites now using iWeb, and just ran into this problem for the first time. The site I'm working on when published now asks for my apple username and password (my apple email address and apple password, for itunes etc etc) instead of the username and password I enter in iweb for password protecting the site. It says something like 'the username and password for your mobile me domain is incorrect. and when I put in my email address and apple password, it works. All my other sites that I set individual usernames and passwords for are working fine.
    Anyone know why it would be doing this? I did copy the pages from another site. could that be part of the problem?

    Have you found a good solution to your problem yet? I had an issue like you describe, where I thought I had to enter my MobileMe user/pass when prompted when browsing.
    The issue with passwords that I saw was when creating more than one site within a single domain.sites file. I have one public site without a password, and then the other several sites in this file do have passwords, and each of them has a different password. With this multi-site and multi-password configuration, I was confused why the passwords seemed to NOT be working.
    The result seems to be that the LAST site published is the user/pass used for ALL of the password protected sites. So right now, after editing a page in one of my private sites, I publish that site, and then I ALSO re-publish the site with the password that I want. This way at least I know the password being used. But it's a single password used for ALL the private sites.

  • Why can't I sign into my iMessage with the correct username and password?, Why can't I sign into my iMessage with the correct username and password?

    Why can't I sign into my iMessage with the correct username and password?, Why can't I sign into my iMessage with the correct username and password?

    Are you trying to sign in with App Store Apple ID or, another ID that isn't associated with your device?
    Have you tried contacting Apple Support?
    http://www.apple.com/support/ipodtouch/contact/

  • Cannot save multiple usernames and passwords

    Just upgraded to version 9.0, but it no longer allows me to have multiple usernames and passwords for the same site. I've removed them in privacy to enable saving once again, but still I can only save one.

    Websites remembering you and automatically log you on is stored in a cookie that you need to keep by creating an allow exception.
    *http://kb.mozillazine.org/Cookies
    Storing multiple user names in the Password Manager shouldn't be a problem.<br />
    *http://kb.mozillazine.org/Password_Manager
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    Please update Firefox to the latest version via "Help > About Firefox" or "Help > Check for Updates"<br />
    The Firefox Firefox/8.0 version that you currently run is no longer supported with security updates.
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html

  • I'm trying to access a forum that requires a user name and password.  When I do it on my mac it tells me the password is incorrect but when I do it on my iPad, I can access it without any problem.  I can confirm the username and password are the same

    I am trying to access a forum for which you need a username and password but it keeps telling me the username/password i've entered are incorrect.  Bizarrely, when I enter the same username/password combination on my iPad, it grants access without any problem. 
    What could be causing this, is it an issue with cookies, caches or similar.  How can I resolve it?  The forum administrator is at a loss as to what the problem is.

    Try the following steps in Safari to see if they help:
    1) First try clearing the Safari cache.  To do this pull down the Safari menu and select 'Empty cache...', then try logging into the site again.
    2) If the issue continues then reset Safari by pulling down the Safari menu and select'Reset Safari...'. You will be presented with a list of items that can be reset. I suggest selecting the 'Reset saved names and passwords', and 'Remove all website data' options at a minimum.
    Here is a list of the options and what they do. I pulled it from the Safari help page.
    Clear history:
    Clears the list of webpages you viewed.
    Reset Top Sites:
    Clears any changes you made to Top Sites, such as adding or pinning sites. If you also clear your history, your Top Sites page reverts to showing the webpage previews displayed when you first installed Safari.
    Remove all webpage preview images:
    Clears any thumbnail images Safari saved of webpages you viewed.
    Clear the Downloads window:
    Clears the list of files you downloaded from websites. Only the names are removed; the files themselves are still on your disk until you remove them.
    Remove all website icons:
    Removes website icons, which are small graphics that help identify sites on the Internet. You see them in the Safari address field and bookmarks list, and other places. These icons are stored on your computer.
    Remove saved names and passwords:
    Removes user names and passwords that Safari automatically fills in at websites that require them (if the AutoFill feature is turned on).
    Remove other AutoFill form text:
    Removes some personal information, such as telephone numbers, that Safari uses to automatically fill in forms on webpages (if the AutoFill feature is turned on). Removing AutoFill information does not remove information from your address book.
    Close all Safari windows:
    If you don’t close all Safari windows, someone could use the Back and Forward buttons to view the webpages you visited.
    Reset all location warnings:
    Clears any information websites saved about your location.
    Remove all website data:
    Removes cookies, tracking information, and other data that websites stored on your computer.

  • I have a iphone 5 and I can login with my apple id to purchase music. However, when I try to login into icloud using the very same username and password that I use in the apple store it does not work to enter icloud, so what what gives???

    I have a iphone 5 and I can login with my apple id to purchase music. However, when I try to login into icloud using the very same username and password that I use in the apple store it does not work to enter icloud, so what what gives???

    I could do that, however when I select the icloud button (or whatever the heck it is) I am asked to enter the apple id and password. So if you are suppose to create another one for icloud you'd think it would give you the option at this point which would be logical.

  • Can't get FaceTime to work...any suggestions...it just keeps me in this loop of asking to sign in, then verifying, then asking to sign in again. I know the username and password are correct.

    Can't get face time to work. Know the username and password are right. Asks me to sign in...verifying... And then goes back to sign in...

    One thing that worked for me:
    launched Message app which uses the same backend as Facetime. If it launches, click on the video. May display a Error Dialog. Call AppleCare and give them the number displayed. This will give them the needed info to check your AppleID account for the messaging servers
    For some reason FaceTime did not display this error, yet once I gave the Support person the number it was fixed in just a minute.
    YMMV

  • Same username and password in different domain cannot be auth.

    I created 2 domains with a user created into each domain. The users have same username and password, like below
    Domain1: user1 (password)
    Domain2: user1 (password)
    Then I create 2 policy sets
    PolicySet1 with Domain1 and add a policy (called Policy1)  with user1 from Domain1 and proper permissions
    PolicySet2 with Domain2 and add a policy (called Policy2) with user1 from Domain2 and proper permissions
    Now I apply policy1 to a document to form a secured document called SecuredDoc1.pdf
    Then I apply policy2 to a document to form a secured document called SecuredDoc2.pdf
    I open SecuredDoc1.pdf, and try to authenticate with user1 (password), I can successfully open the document
    I open SecuredDoc2.pdf, and try to authenticate with user1 (password), I can NOT open the document.
    Is this a bug? Does RightManagement authenticated with domain id?
    Thanks

    Although LiveCycle will allow you to create two users with the same user ID (each in different domains) it is not recommended for the reson you are experiencing.  The domain is not used in the authentication, LiveCycle attempts to authenticate with the first user id it locates that matches the supplied user id.
    In your example, The first instance of "user1" that LiveCycle is finding happens to be part of "Domain1", this is why SecuredDoc1.pdf can be opened and SecuredDoc2.pdf can't be opened (the user1 that is a member of the policy applied to the second document is not the user that has been authenticated).
    You need to keep all user ids unique.
    Regards
    Steve

Maybe you are looking for