Who can access database

Hi Experts,
select a.USERNAME, a.USER_ID ,b.GRANTED_ROLE
from all_users a , dba_role_privs b
where b.GRANTEE=a.username
and a.username not in ('SYS','SYSTEM','SYSMAN')
order by a.username
the all_users table return more user than dba_users in above SQL.
Why? what difference?
Can we find some account that has been deleted?
Thanks
Jim

[duplicate post|http://forums.oracle.com/forums/thread.jspa?threadID=852094&tstart=0]

Similar Messages

  • Find who can access database

    Hi Experts,
    select username, user_ID, account_status from dba_users where
    select USERNAME, USER_ID CREATED from all_users;
    Based on two SQL, I can saw lots of user name with OPS,
    How do I can know each account can access database by sql query ? even status is opne
    Thanks,
    Jim

    If you check the definition of DBA_USERS and ALL_USERS you will find them quite different.
    create or replace view DBA_USERS
        (USERNAME, USER_ID, PASSWORD, ACCOUNT_STATUS, LOCK_DATE, EXPIRY_DATE,
            DEFAULT_TABLESPACE, TEMPORARY_TABLESPACE, CREATED, PROFILE,
            INITIAL_RSRC_CONSUMER_GROUP,EXTERNAL_NAME)
    as
    select u.name, u.user#, u.password,
           m.status,
           decode(u.astatus, 4, u.ltime,
                             5, u.ltime,
                             6, u.ltime,
                             8, u.ltime,
                             9, u.ltime,
                             10, u.ltime, to_date(NULL)),
           decode(u.astatus,
                  1, u.exptime,
                  2, u.exptime,
                  5, u.exptime,
                  6, u.exptime,
                  9, u.exptime,
                  10, u.exptime,
                  decode(u.ptime, '', to_date(NULL),
                    decode(pr.limit#, 2147483647, to_date(NULL),
                     decode(pr.limit#, 0,
                       decode(dp.limit#, 2147483647, to_date(NULL), u.ptime +
                         dp.limit#/86400),
                       u.ptime + pr.limit#/86400)))),
           dts.name, tts.name, u.ctime, p.name,
           nvl(cgm.consumer_group, 'DEFAULT_CONSUMER_GROUP'),
           u.ext_username
           from sys.user$ u left outer join sys.resource_group_mapping$ cgm
                on (cgm.attribute = 'ORACLE_USER' and cgm.status = 'ACTIVE' and
                    cgm.value = u.name),
                sys.ts$ dts, sys.ts$ tts, sys.profname$ p,
                sys.user_astatus_map m, sys.profile$ pr, sys.profile$ dp
           where u.datats# = dts.ts#
           and u.resource$ = p.profile#
           and u.tempts# = tts.ts#
           and u.astatus = m.status#
           and u.type# = 1
           and u.resource$ = pr.profile#
           and dp.profile# = 0
           and dp.type#=1
           and dp.resource#=1
           and pr.type# = 1
           and pr.resource# = 1
    ========ALL_USERS=========
    create or replace view ALL_USERS
        (USERNAME, USER_ID, CREATED)
    as
    select u.name, u.user#, u.ctime
    from sys.user$ u, sys.ts$ dts, sys.ts$ tts
    where u.datats# = dts.ts#
      and u.tempts# = tts.ts#
      and u.type# = 1

  • I have a requirement where I have to give the list of users who can access a specific computer. I am new with PS. Do you have a script to list users that can access a computer object of AD ?

    I have a requirement where I have to give the list of users who can access a specific computer define in AD.
    I am new with PS.
    Do you have a script to list users that can access a computer object of AD ?
    I have executed the following script  but it does not give me the access rights of who can access the computer 'computername'
    How can i have this information. please help
    Import-Module activedirectory
    $computer=get-adcomputer "computername" -properties ntSecurityDescriptor
    $omputer.ntsecurityDescriptor.Access | select-object -expandproperty IdentityReference | sort-object -unique

    I would say that, since the OP has so little info, there are no policies in use.  It there were then this question would never be asked the way it is being asked.
    I had a client call with a letter from their insurance company; an accountant with malpractice insurance.  THey asked the same question inmuch the same way.  "What computer can you users access?"  The question should be more like
    "Do you have a policy that restricts access to computers and do you audit for compliance?"
    I have had other clients whose insurance asked the question in that way.  It produces a better view of what should be happening and how to show compliance.
    I recommend that companies being asked these questions by their legal departments or insurance companies should contract with a god computer security consultant to assist with answering these very tricky questions.  Of course if it is just you boss's
    curiosity  then you may need to discuss his requirements with him in more depth.
    ¯\_(ツ)_/¯

  • How to set the user who can access to repository

    Hi,
    I know we can create user and group in the tools->security.And if this users is belong to Administrators Group, it can access to RPD and do some modify..
    Can we create group or user who can access RPD in some situation(like mentioned in HELP, A can access to repository on Mondays and Wednesdays, B can access to repository on Saturdays and Sundays) and how to set the privilege..
    Thanks
    anne

    Hi Anne,
    The example specified in Help is about restricting query execution on weekdays/weekends for a particular webgroup. Inorder to configure such access ,
    Double click on the web group name -> Query Limits tab ->Click on Restrict button provided against the physical connection pool ->Select Allow/Disallow by selecting a particular time period.
    Rgds,
    Dpka

  • After upgrade to Server 4 Website setting  "who can access" cannot use networkgroups anymore

    i have a couple of website's where i limited the access by using the Who can Access. (Used a network Group)
    after the upgrade to server-4 
    people can't login anymore although they're using the right credentials
    the login screen pop's back up as if the pasword is not correct.
    logging in on the server with that same account still works - so the OD seems oké
    after hours of trying all sorts of things i've managed to get it a bit working by creating on the server local groups and make network users member of that local group. And then use the Local group in the Who can Access
    Its a work around but i'm not happy with this upgrade!!!!!!

    These are some File Sharing log lines:
    Dec  6 13:30:00 _MY_SERVER_HERE_ AppleFileServer[1119] <Info>: Kerberos fail: gss_acquire_cred major status_value <458752>  minor status_value <0>
    Dec  6 13:30:00 _MY_SERVER_HERE_ AppleFileServer[1119] <Info>:       major error <1>:  No credentials were supplied, or the credentials were unavailable or inaccessible.
    Dec  6 13:30:00 _MY_SERVER_HERE_ AppleFileServer[1119] <Info>:       minor error <1>: unknown mech-code 0 for mech unknown
    And I also seem to suffer from AD issues :(:(
    Dec  3 19:28:31 _MY_SERVER_HERE_ slapd[205]: conn=1211 op=2: attribute "entryCSN" index delete failure
    Dec  3 19:28:31 _MY_SERVER_HERE_ slapd[205]: => bdb_idl_insert_key: c_put id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)
    Dec  3 19:28:31 _MY_SERVER_HERE_ slapd[205]: conn=1215 op=3: attribute "entryCSN" index add failure

  • List of reports and groups who can access the reporta

    Please i need some help
    I need to get list of   bo reports and groups who can access these reports.
    I got list of groups but i need the list of reports and groups who have access to those reports.
    Is there any query which i can write in query builder to get that information.
    please help me with query

    No need for DB access. This might work for you.
    //assumes you have a session objectpublicvoidGetCommunityACLs(intcommunityId){    Console.WriteLine("Retrieving users for community "+communityId.ToString());    IPTObjectManagercommunityManager=session.GetCommunities();    IPTCommunitycommunity=(IPTCommunity) communityManager.Open(communityId, false);    IPTServerContextserverContext=(IPTServerContext) community.GetInterfaces("IPTServerContext");    //since IPTServerContext is obtained from a community,    //the IPTServerContext.GetACL() method will return a list of all objects that have acls defined on it.    IPTAccessListaclList=serverContext.GetACL();    for(inti=0; i<aclList.GetCount(); i++)    {        IPTAccessListEntryacl=aclList.GetItem(i);        stringmemberType;        if(acl.GetClassID() ==PT_CLASSIDS.PT_USER_ID)            memberType="User";        elseif(acl.GetClassID() ==PT_CLASSIDS.PT_USERGROUP_ID)            memberType="Group";        else            memberType="";        Console.WriteLine("{0}: {5,-6}{1,-3} Access Level={3,-2} r/o={4,-6} {2}", i, acl.GetObjectID(), acl.GetName(), acl.GetAccessLevel(), acl.GetReadOnly(), memberType ); }}
    Ruslan.

  • HT5557 can I limit who can access my ibook?

    I am interested in using ibook authoring as a way of providing enterprise content across my organisation. However, if I upload an ibook I have created - can I restrict who can access/read it?

    Hi,
    If you know the source public IP addresses of the RA VPN clients, you could use control plane ACL to restrict the access to few legitimate users.
    Normal ACL are for through-the-box traffic and control-plane is for to-the-box traffic so RA VPN connections being to-the-box traffic will be filtered through control-plane.
    http://blog.ipexpert.com/2011/01/05/asa-control-plane-access-list/
    Also, refer the configuration guide for ASA:
    http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/access_rules.html
    The command should be like this:
    access-group RA-VPNClients in interface outside control-plane
    *RA-VPNClients is the name of the Access-list permitting specific public clients
    Hope the above information is informative.
    Regards,
    Nick
    P.S. Please mark this post as 'Answered' if you find the above information helpful so that it brings goodness to other community users

  • I want to be the only one who can access my profile, so how to create passwords for profiles (NOT for websites) ?

    I want to be the only one who can access my profile, so how to create passwords for profiles (NOT for websites) ?
    thanks

    Maybe use the portable Firefox version on a USB stick if you want to prevent access to your profile.<br />
    Solutions that use an extension can easily be bypassed by starting in [[Safe mode]].<br />
    Otherwise you need to locate the Firefox profile folder on an encrypted drive.
    See http://portableapps.com/apps/internet/browsers/portable_firefox

  • Can Access Databases be used with Dreamweaver

    I have created a database with Access, and am wondering if it can be used with a site created with Dreamweaver

    You will need to convert it to MySql.
    http://www.mysql.com/why-mysql/white-papers/a-guide-for-migrating-from-microsoft-access-to -mysql/
    Nancy O.

  • Who can access my private browsing history?

    I was on a web page and I was on private browsing for some reason and now I can't access it obviously. So I was just wondering who would have access to that history, also if I did get access to the history would I be able to access the web page I was on. If anyone has any knowledge on this I would appreciate it thanks.

    If you used Private Browsing and then closed that window or tab, that data is lost forever. There is no way to get it back.

  • Who can access my ATT text messages in cloud?

    I use ATT smart phone. My messages go on cloud. The att account is on my uncle's name and he has the att account access. Can he access my messages from his att account?

    In order to login to your messages online, a verification text is sent to the phone that the phone number is assigned too. As long as he does not have your phone if he tried to view them, you're good.

  • HT4314 someone is using my account on clash of clans, can you remove all the device that are cnnected to my apple id? so i will be the one who can use it because iam the only one who knows my password. please help me guys i need my clash of clans

    Hi im allen. My problem is someone is using my account on Clash of Clans. Can you remove all device that at connected to my apple id? Will I be the only one who can access my game center and apple id thanks a lot apple team!
    <Email Edited By Host>

    Apple is not here.
    There are only users here like yourself.
    We can do nothing at all about any devices on you AppleID.

  • Access database issue in SQL Plus

    Hi Friends,
    I download a oracle 10g to install sql Plus without create database. (I download client and does not find SQL Plus)
    I can ping database server from client PC and also set up a TNS.
    However I got a error ORA 12504 --TNS:listener was not start.
    I can access database by sql plua from server side. I do not think we need to put a listener file in client PC under admin path.
    my database set as RAC module and system as window 2003
    how to fix this issue?
    Thanks,
    JIm

    OK, just to be clear, you have a single client machine where you have installed something with the 10g label. Are you saying that you installed the Oracle database bits, but did not create a database? Rather than doing a client-only install? Is there a single Oracle home on the client machine?
    And then you have a RAC database running on multiple Windows 2003 servers, right? Is there a listener running for this RAC database? Can you connect to it from other client machines?
    Are you certain that the service name you specified in the client machine's tnsnames.ora file matches the service the listener is listening for?
    Justin

  • If someone can access my airport timecapsule wireless can they see my backup files too?If someone can access my airport timecapsule wireless can they see my backup files too?

    I have 4 iMacs in the office and we are using the Airport Time Capsule 3TB to wirelessly back them up.
    It is connected to the main wireless modem router.
    I'd like everyone in the office (iMacs, PCs and guests) to connect to the internet through the Airport Capsule. (As I may have to move the main router out into another room to connect it to the built in ethernet cable network).
    I'm concerned, though, that anyone who can access the wireless internet functions of the Timecapsule will also be able to see and copy the backup files on there.
    Should I be worried?

    In normal operation, Macs can only "see" the backups that have been made from their own Mac. They cannot "see" the backups made on another Mac. Try it and see.
    With some tricky workarounds that only a devious person would use, it is possible to "see" the main backup file of another Mac......but they would also have to have the user name and password for that Mac.....or actually be using that Mac to see inside the main file and access specific backups.
    A bit safer and probably more reliable approach would have a backup hard drive connected to each Mac.
    But, even then someone who really wanted the files would probably just take the hard drive.

  • How do I set up an administrator account so my daughter who is under 13 , so she can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.

    how do I set up an administrator account so my daughter who is under 13 ,
    can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.

    There is no such account. The iPod is really a one-user device
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    You can then redeem a gift card(s) into the account

Maybe you are looking for

  • Old contacts showing up in siri and text search results but not in contacts list.

    So what I did was this. I had mobile me, and iphone ocntacts as well as contacts on phone. After updating to IOS5, i had tripples of almost all my contacts (but not all). I converted my mobile me to icloud to discover i couldnt use that email under m

  • OWB 10g R1 : Error  while accessing External Table

    Dear All, We have created few external and registered them using os user oracle. Now , we have changed to user 'oratester' and reregistered the location. oratester is having all the rights on the folder which the external table is refering. Still , w

  • Please help with timout code. I'm under deadline.

    I have a timeline that stops on a frame full of flv playback components. I need the frame to listen for mouse clicks and after no mouse clicks for 2-3 minutes I need it to gotoAndPlay frame 1. As long as the viewer keeps clicking on the video control

  • Exit button not working can u say how to do that?

    Exit button not working can u say how to do that?

  • HD to not so HD

    All my projects have been made using a Sony FX1, WHICH IS not A FULL HD camera. I want to replace the camera with a EX1 which it full HD. Will I be able to finish of projects that were shot with the old camera and join the old and new footage togethe