How to list granted directories to an user

I can see the all directories with view all_directories.
but,
how can i find the all directories, on that an user has access (READ / WRITE)??
(Oracle 11gR2)

Fran wrote:
select * from all_directories where owner ='your user'Have you checked your query?
SQL> SELECT * FROM ALL_DIRECTORIES WHERE OWNER='MAIN_DEV';
no rows selected
SQL> GRANT READ,WRITE ON DIRECTORY BACKUP TO MAIN_DEV;
Grant succeeded.
SQL> SELECT * FROM ALL_DIRECTORIES WHERE OWNER='MAIN_DEV';
no rows selected

Similar Messages

  • How to list all available tables for user "karl"

    How can I list all available tables (=table names) for user "karl"?
    Nice to have would be if (after each table name in another column of each row) the number of data rows in this table can be listed similar to:
    TABLE NUM ROWS
    TESTA 12
    TESTB 3455
    ANOTHERTAB 234
    How can I do this?

    from Laurent Schneider
    http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
    SQL> select
      2    table_name,
      3    to_number(
      4      extractvalue(
      5        xmltype(
      6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
      7        ,'/ROWSET/ROW/C')) count
      8  from user_tables;
    TABLE_NAME                      COUNT
    DEPT                                4
    EMP                                14
    BONUS                               0
    SALGRADE                            5

  • How do I grant non-logged in user access to application component?

    I want to make the customization page for a report available on
    our portal available to users without them having to log on to
    our portal. I thought I set up the access rights to the
    application component correctly, but the link takes them to the
    login screen instead of the customization page. Can anyone give
    me an idea of what I may have set wrong?

    Hi Greggor,
    You say they are still logged in after a restart?? if you open task manager and look under users are the session aside yours listed?
    Thanks,
    Adam

  • How can I grant Application access to a user via API ) programattically

    how do I grant access to a portal user from API
    I want to grant access to a user from an API, ie I need a
    command to grant "SCOTT" access to "EXAMPLE_APP" APPLICATION as
    an end user?

    Hi,
    I am assuming that you have already updated the EUL in the Administrator Edition, correct? If not, open Discoverer Administrator and login to the database you want to connect to. You must use your EUL user name which I assume has already been created and assigned the correct privileges in the database. You will be asked to update your EUL. Follow the prompts.
    Once logged into the EUL, go to Tools \ Privileges and find the user that you want to give administrator access to.
    Hopefully, this answers your question.
    Regards,
    Nancy

  • How can I grant users the ability to pause/resume printing without a "print operators group" password.

    Greetings,
    We are running 10.8.5 on 30 machines in an active directory environment (graphics lab). The clients are experiencing a persistant error when pausing or resuming print jobs. Each time something is paused, it requires an administrator password to resume the job. Administrators are not always present so designers are locked out of all of the printers until we come in (or remote in) to authenticate.
    I spoke with Apple today and they said they would not support active directory accounts and that the account must be edited by the department that created the account because the restrictions come from the Active Directory account preferences.
    On the other hand, I ALSO read that I can edit this in the CUPS interface or modify it with the terminal command below, locally.
    dseditgroup -o edit -u admin_name -p -a user_name -t user _lpadmin
    "dseditgroup" adds the user_name to a group (in this case, _lpadmin).
    And admin_name is the name of your administrator's account.
    a) Must this be modified on the Active directory account or CAN I modify this on the local machine via CUPS or terminal?
    b) If so, how would I grant users the ability to resume printing without an admin password?
    c) If not, exactly what must be modified in the active Directory account to allow pause/resume without an admin password.
    I have seen a terminal command that adds users to the print operatiors group (Ipadmin) and I have seen some info on editing the CUPS interface, If i must edit the CUPS interface to allow this, can anyone point to detailed instructions on how to make this change.
    I also saw info on editing the CUPS interface but the suggestion lacked details as to how and how to return to default if it does not work.
    I also saw a post with these suggestions below but without detail as to how one would carry this out.
    /etc/cups/cupsd.conf
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    *#Require user @SYSTEM*
    *Require valid-user*
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    *#Require user @AUTHKEY(system.print.operator) @admin @lpadmin*
    *Require valid-user*
    Order deny,allow
    </Limit>
    /etc/authorization
    +The system.print.operator key is new to Snow Leopard and seems to control resuming and pausing a printer queue among other things.+
    <key>system.print.admin</key>
    <dict>
    <key>allow-root</key>
    <true/>
    <key>class</key>
    <string>user</string>
    <key>group</key>
    <string>staff</string>
    <key>shared</key>
    <true/>
    </dict>
    <key>system.print.operator</key>
    <dict>
    <key>allow-root</key>
    <true/>
    <key>class</key>
    <string>user</string>
    <key>group</key>
    <string>staff</string>
    <key>shared</key>
    <true/>
    </dict>
    I have read all posts on this subject and I still am not clear on how to proceed, please assist.
    Thanks in advance,
    V

    Hello again.  For AD environments you can run the following command on each workstation:
    sudo dseditgroup -o edit -n /Local/Default -u localadmin -p -a "Domain Users" -t group _lpadmin
    This command assumes you are typing this interactively on the machine.  Obviously change localadmin to the Mac's local admin's name.  When running you will be prompted for password twice.  Once to elevate permissions (sudo) and once to validate you are localadmin.
    If you are using Apple Remote Desktop (or JAMF or other management suite), you can push this command out while embedding the localadmin's password. 
    sudo dseditgroup -o edit -n /Local/Default -u localadmin -P yourpass -a "Domain Users" -t group _lpadmin
    Please note, if your password uses special characters (/-\) this may fail over ARD.
    In Mavericks, AD groups are cached once they are referenced.  If you are dealing with a lot mobile users (laptops) you might want to replace Domain Users with everyone
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • How and where can i do a "User GRANT to SYSADM,SYSCTRL,.." ?

    Hello all,
    the first time we installed a new SAP-System with sapinst on DB2/LUW V9.
    SAP works. (As yet we "drove" DB2 only on z/os)
    SAP Created four db2 User : DB2<SID>, <SID>ADM, SAP<SID> and SAP<SID>DB!
    They all have no "Grant" privilege?
    How and where can i do a User grant to SYSADM,SYSCTRL,.. ,
    there's no admin?
    Thanks a lot!
    Markus

    Hi Markus,
    in addition to explicit GRANTs DB2 LUW has the concept of privileges.
    db2<dbsid> is instance owner and part of the SYSADM group db<dbsid>adm.
    <sapsid>adm is part of the SYSCTRL group db<dbsid>ctl.
    sap<sapsid> is part of the SYSMAINT group db<dbsid>mnt.
    In addtion to that <sapsid>adm is DBADM. This right is explicitly granted during the installation with SAPInst.
    The relationship between OS group and privilege is controlled by the database manager configuration parameters SYSADM, SYSCTRL and SYSMAINT.
    The rights of these privileges are described in the DB2 documentation.
    Regards, Jens

  • Hi ,How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi ,how can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm
    or poerwshell . i have struggled for a week
    tchocr

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    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 Subscriber Support, contact [email protected]

  • How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    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 Subscriber Support, contact [email protected]

  • How do I get a list of directories and sub-directories?

    Hi All,
    I'm new to Java and have a couple of questions that are really stumping me and I sure could use some help.
    Question 1:
    I have this class file that I want to return back me a list of directories and only directories, not files. I can't figure out how to do this. I know I need to use the isDirectory() function but I can't figure out how to use it. The class file currently is returning back both directories and files. Please help!
    Question 2:
    Once I get the list of directories, I need to also get a listing of all subdirectories to form a directory tree starting at my File dir value (example: C:\Windows) in the constructor. Any ideas?
    Thanks
    import java.io.*;
    public class DirList {
         private String list = "";
         public DirList(File dir){
              File f = new File(dir.toString());
              String[] files = f.list();
              for ( int i=0;i<files.length; i++ ){
                   list += files[i] + "\n";
              }  // end for
         }  // end constructor
         public String getList(){
              return list;     
         }  // end method getList
    }  // end class DirList

    I'm not familiar of the recursion technique that you speek of. If
    this would work, please share it with me.Okay, i'll try, I assume that you don't care what level a subfolder is right! With a selected folder (from fileChooser), you want to obtain a list of all subfolders.
    After you have select a folder from the filechooser
    import java.io.File;
    import java.util.ArrayList;
    public class AllSubFolders
      private static ArrayList allSubFolders = new ArrayList();
      public static void main(String [] args) {
        File selectedFolder = ....; //a folder seleted from the filechooser
        getSubFolder(selectedFolder );
      public static void getSubFolder(File aFolder) {
        File[] file = aFolder.listFiles();
        for (int n = 0; n < file.length; n++) {
          if (file[n].isDirectory()){
         allSubFolders.add(file[n]);
         System.out.println(file[n].getAbsolutePath());
         getSubFolder(file[n]); //recursion method call
    }You can see that getSubFolder() method call it self, it will do right down to the end of the tree, try it out by replacing the line
    File selectedFolder = ....; to
    File selectedFolder = new File("c:\\yourFolder\\");

  • How to restrict a schema owner from granting privileges to other users.

    How can we restrict a schema owner from granting privileges to other users on his objects (e.g. tables). Lets say we have user called XYZ and he has tables in his schema TAB1, TAB2 an TAB3. How can we restrict user XYZ from granting privileges on TAB1, TAB2 and TAB3 to other users in the database. Is it possible in Oracle 10g R2? Any indirect or direct way to achieve this? Please help on this.
    Thanks,
    Manohar

    Whenever someone is trying to prevent an object owner from doing something, that's generally a sign of a deeper problem. In a production database, the object owner shouldn't generally have CREATE SESSION privileges, so the user shouldn't be able to log in, which would prevent the user from issuing any grants.
    As a general rule, you cannot stop an object owner from granting privileges on the objects it owns. You can work around this by creating a database-level DDL trigger that throws an exception if the user issuing the statement is XYZ and the DDL is a GRANT. But long term, you probably want to get to the root of the problem.
    Justin
    Edited by: Justin Cave on Nov 6, 2008 9:52 PM
    Enrique beat me to it.

  • How am I to be able a user to grant access only to see a procedure / function without execute,compile,edit and drop?

    how am I to be able a user to grant access only to see a procedure / function without execute,compile,edit and drop?

    Sorry GregV but thank you, are you sure you can only be done by setting a PC? Can not by giving them certain privileges of a PC?
    PL \ SQL that we use a portable version.
    So actually like this, user A is only used by the X, user A wants to provide read-only access to user B is only used by Y (another PC) to the procedures / functions held user A. How do you?

  • How i can grant permissions a user to pakege body

    i would like to know how i can grant permission to user on a pakege body. so the user can see that. i created a pakage and it has couple pakage body but the user can see the pakage body. however i did grand execute on pakage.
    thanks

    in order to be able to see the package spec as well as the body in the schema browser of the tool you are using, you will have to grant
    EXECUTE ANY PROCEDURE
    to that user.
    beaware of the consequences of granting this privledge to the user though.
    read more about it here:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:454220160386#55242292670725
    This is one of the security model feature that you automatically get by using packages.
    if you do not like the benefits (which will be hard to understand), you can start writing simple procedures and functions.
    Message was edited by:
    Kamal Kishore

  • Sunone Messaging Server 6.1--How to list all mail user's last login time

    hi,i want to know how to list all the mail user's last login time.
    There are more than 100000 mailbox accounts on our mail server,
    i want to know which account is not used for more than 2 or 3 years.
    thanks.

    http://wikis.sun.com/display/CommSuite/imsconnutil
    Somchai.

  • How to list all calendars that are shared to a specific user?

    Hi,
    Using Exchange Management Shell/Powershell, I want to list all calendars that are shared to a specific user 'myuser'. 
    I have tried different approaches; list all calendars for all users and then figure out which ones are shared to 'myuser', list all mailboxfolders for 'myuser' with path 'calendar' and sort out the shared ones, ... No luck so far.
    Anybody?
    babu

    Hi
    If you try this command:
    Get-MailboxPermission MyUser

  • How to list all logged in users in Weblogic?

    Dear All,
    I want to list all the logged in users in weblogic since we have assigned each user a separate login.
    Right now, weblogic console shows if any user is making any changes. However, I want to list all users logged in even if they are in idle state.
    I have also looked in domainRuntime location using WLST but couldn't find any info.
    Please suggest.
    Thanks,
    Karan

    Hi,
    can you try with this JMX code.
    import javax.naming.*;
    import javax.management.MBeanInfo;
    import weblogic.jndi.Environment;
    import weblogic.management.runtime.ServerRuntimeMBean;
    import weblogic.security.providers.authentication.DefaultAuthenticatorMBean;
    import weblogic.management.security.authentication.UserReaderMBean;
    import weblogic.management.security.authentication.GroupReaderMBean;
    import weblogic.management.MBeanHome;
    import weblogic.management.WebLogicMBean;
    import weblogic.management.tools.Info;
    import weblogic.management.Helper;
    import weblogic.management.security.authentication.*;
    public class ListUsersAndGroups
    public static void main(String[] args)
    MBeanHome home = null;
    try
    Environment env = new Environment();
    env.setProviderUrl(“t3://localhost:7001?);
    env.setSecurityPrincipal(“weblogic”);
    env.setSecurityCredentials(“weblogic”);
    Context ctx = env.getInitialContext();
    home = (MBeanHome)ctx.lookup(“weblogic.management.adminhome”);
    weblogic.management.security.RealmMBean rmBean = home.getActiveDomain().getSecurityConfiguration().getDefaultRealm();
    AuthenticationProviderMBean[] authenticationBeans = rmBean.getAuthenticationProviders();
    DefaultAuthenticatorMBean defaultAuthenticationMBean = (DefaultAuthenticatorMBean)authenticationBeans[0];
    UserReaderMBean userReaderMBean = (UserReaderMBean)defaultAuthenticationMBean;
    GroupReaderMBean groupReaderMBean = (GroupReaderMBean)defaultAuthenticationMBean;
    String userCurName = userReaderMBean.listUsers(“*”, 100);
    while (userReaderMBean.haveCurrent(userCurName) )
    String user = userReaderMBean.getCurrentName(userCurName);
    System.out.println(“\n User: ” + user);
    userReaderMBean.advance(userCurName);
    String cursorName = groupReaderMBean.listGroups(“*”, 100);
    while (groupReaderMBean.haveCurrent(cursorName) )
    String group = groupReaderMBean.getCurrentName(cursorName);
    System.out.println(“\n Group: ” + group);
    groupReaderMBean.advance(cursorName);
    catch (Exception e)
    e.printStackTrace();
    Regards,
    Kal

Maybe you are looking for

  • Control user access in SOA Suite 11.1.1.2 Console

    Hi All, We recently migrated our application from SOA Suite 11.1.1.1 to 11.1.1.2 . In 1.1 we had an end user account assigned to the Monitor group which could access the middleware console and view composite flows but could not deploy/undeploy or ret

  • Modal JDialog move only in JFrame

    I need to create dialogs that can only move within the context of the apps JFrame. Any ideas on how to accomplish this?

  • Where are my trade in shipping materials? Applied on 10/2/14.

    Where are my trade in shipping materials? Applied for the trade-in and ordered new iPhone 6 on 10/2.  Received confirmation e-mails for both.  Received new iPhone 6 on 10/8.  Tried calling 1-800 number, due to "increased customer demand" can't reach

  • JavaScript for English to Spanish?

    I have a document that consists of 10 forms. The first page is in English and contains fields that our workers complete. These fields consist of names, phone numbers, dates, etc. What is inputted on this first page then populates to corresponding fie

  • Facing problem in placing and receiving calls in l...

    Bought my lumia 720 a week ago. For past two days, i am facing problems during calls. Most of the my voice isn't audible to the receiver. It's happening during incoming calls and outgoing calls both. Its freakishly frustarting. Pls help me out. Note: