How can I allow users to access SQLPLUS?

Hi everyone,
I have been charged with the task of creating an Oracle server on a CentOS VM. Installation and configuration is complete and SQL is working fine for the database admin user "oracle." I copied the environment variables to the .bashrc file for "oracle" and SQLPLUS starts without a hitch.
Here is where I need a little guidance...
I need to create basic Linux user accounts that will have access to the database, so they can then in turn log into their SQLPLUS accounts. The problem is, all of the database files and software are in located in the user "oracle's" directory. This means that no one but "oracle" and root have access to these files because they are the only ones with proper permissions.
Before I put a ton of time into this, I thought I would pose these questions to the Oracle Linux community:
1) Could I enable a specific Linux group (ex. "Oracle Users") to have access to the main database folder or possibly all folders along the path? I am hoping this would allow any users I put in the group access to the folders, and essentially the SQLPLUS application. (here is ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1)
2) If that is not an option, will I need to make a completely new database and locate it in a location that all users can access?
I understand that my first idea may not be the SAFEST method, but this is only for a small class of students learning how to use SQL and writing queries. There will be no sensitive information at risk. This would be a quick fix until I learned more about Oracle and how to use it.
Thank you everyone.

It certainly is rather a question for the General Database forum, though I doubt you will get a lot of happy replies for such a basic question.
You can use / as sysdba OS authentication through SSH or using the server console, provided the user's account belongs to the "dba" user group. For remote connection through sqlnet you need create a $ORACLE_HOME/dbs/orapw$SID password file.
If you would like to know more about this:
Connecting / as sysdba is used for OS authentication. It ignores password credentials stored in the database and allows any user belonging to the OSDBA system group to connect to the database. Connections as sysdba will always connect to the SYS schema of the database, regardless of any username or password specified. Using OS authentication relies on the BEQ protocol, which connects to the database directly, without using the Oracle Listener process.
The "oinstall" group will give access to the database software repository. There could be different oracle home installations, each with a different oracle user/owner like "oracle_prod1" and "oracle_prod2", but both users must be able to read/write the shared oraInventory, in which case both users must have read and write access to the oraInventory directory, hence the oinstall group.

Similar Messages

  • How can i restrict user to access database object (procedure) or JSP

    Hi
    I have 9ias infrastructure 902, on win2k box with 9i DB.
    and I have one PL/SQL web application and another J2EE application both are hosted by 9ias 902.
    Now we are looking forward to couple both with SSO.
    I have deloyed samples of both and works fine.
    Each application have different set of users, i mean there is no common user.
    How can i restrict user not to view the web page which is not authorised to them.
    as far as i understand from the Grocery demo is pick the role (which is a string only) from OID and programaticall apply security via if else endif construct.
    can any one through light upto my concern.
    regards
    [email protected]

    Hey Mary
    No i haven't try to do that via pl/sql....
    as the our application is j2ee app... deployed in oc4j.. with sso and ldap....
    still finding to do so....
    what i have realized that LDAP is just to store user information in inverted tree... and one have to build separated access security mechnisum that will be applicable to j2ee system....
    thanx...
    samir....

  • How can I get users who accessed the database during last one month

    Hi All,
    How can get the list of users who logged on to the database DBProd and made changes to the tables of particular schema during say last month and current month.
    Thanks & Regards.

    DBA_PRIV_AUDIT_OPTS :-Describes current system privileges being audited across the system and by user and who has updated what can be done through trigger which would send the information to a history table. If you have it ready ask your team..
    SQL> select PRIVILEGE,SUCCESS,FAILURE from DBA_PRIV_AUDIT_OPTS where user_name='SCOTT';
    no rows selected
    SQL> audit ALTER SYSTEM by scott by access whenever not successful;
    Audit succeeded.
    SQL> audit session by scott by access;
    Audit succeeded.
    SQL> select PRIVILEGE,SUCCESS,FAILURE from DBA_PRIV_AUDIT_OPTS where user_name='SCOTT';
    PRIVILEGE SUCCESS FAILURE
    CREATE SESSION BY ACCESS BY ACCESS
    ALTER SYSTEM NOT SET BY ACCESS
    Regards
    Karan
    Edited by: Karan on Aug 2, 2012 7:15 PM

  • How can I allow users to view any Wiki Pages inside my enterprise wiki site collection, as PDF files

    We are working on an enterprise wiki site collection, and users start adding wiki pages and link them together. But a new requirement was raised by the customer, to allow users to be able to convert any wiki page to pdf file and save the pdf file to their
    local PCs. They are suggesting to add a link or an option inside the upper ribbon , named “Make as PDF”, and once clicked they can view the current wiki as a pdf file.
    Not sure what are the capabilities of SharePoint 2013 to do so ? and is there any third paryt tools that allow doing similar tasks ?
    Thanks

    If you want to save as PDF, could you not use a PDF printer, so the procedure would be to 'Print this page' and the user then selects their PDF printer and where they want to save the file.
    but in this way the user will have the page header footer, left navigation included in the pdf file. while i want to extract the body only. i so not think you apprach will work for my requirements

  • How to restrict/allow users to access oracle forms/reports through SSO

    Dear All,
    I am new to oracle application server and need to know how can we manage the access rights for oracle forms using OID/SSO.

    Anyone can answer.

  • How can I allow users to submit a form without entering credit card info?

    Hello all,
    We are offering a free gift to our constituents. So, what we need is a form that will allow users to either claim the gift and make a donation, or claim the gift and not make a donation. Ideally this is one form. Is there a way for users to fill out everything but the credit card info?
    Thanks,
    Mike

    Hi Mike,
    You can use "Free" payment method to do so and hide the credit card fields using JS and CSS based on the payment method type selection. Please refer to the following article : http://kb.worldsecuresystems.com/893/bc_893.html
    Hope this helps.
    Regards,
    Aish

  • How can I allow apps to access my photos/contacts etc?

    My iPhone5s (iOS 8.0.2) said that my storage is full, so I decided to import my photos into my mac and delete them from my iPhone.
    After I did that, I tried using other apps and it said that they don't have access to my photos/contacts etc... I went to the Setting>privacy>photos and it said that "Apps that have requested access to your photos will appear here" THERE WERE NO APPS THERE, and none of the apps requested access to my photos.
    I've also tried to go to Setting>General>Restrictions and I've switched them ALL on. But still, no apps appear on the privacy setting.
    HELP PLEASE? Thank you x 

    ive been trying to fimd this answer and I can find the solution no where because this was happening to me until like 4 mins ago lol I deleted some pictures until i felt like I had enough space , because my storage was full now I have 20.6 MB so I restarted my iPad and now it allows me to go on my all apps and I have access to my camera and pictures  now

  • How can a Windows user remotely access their Home folder on a MacOSX Server

    I have a staff member who would like to remotely access (ourside of our LAN) their Home folder on our Mac OSX server. Anyone know and willing to share the process?
    Thanks

    Hi Brad!
    Generally, a VPN solution is best to allow someone access to your company network. VPN provides security and access to some or all of your company's network resources.
    If AFP is allowed to pass through the VPN tunnel, then your user would connect via VPN first and then connect to the server with a connect string such as "afp://servername".
    Or if your user's home folder is also shared as a Windows share, your user could connect via VPN first and then connect to the server with a connect string such as "smb://servername".
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.6)  

  • How can I grant users to access/modify system folders (C:/Windows/Fonts) by using GPO in Win7 ?

    In our company there are some folks that require often new fonts that they take from the internet. Unfortunately, some of them have offices on in a diferrent country, so going there to insert my admin paswoord is not a solution.
    If you copy the ttf file into the C:/Windows/Font folder is enough, you don't have to also add the registry.
    One way to bypass the window that asks for admin credentials is to insert my crdentials into the bat file (runas). But this is very unsecure, as I am an administrator.
    Is there a way to create a shared folder that can also store fonts that can be used by windows? Can I give them the right to modify files in this folder without making them administrators? Or do you see any solution to this issue? Any help would
    be greatly appreciated.
    Thank you in advance.

    Another solution which will not compromise your security is to create a share folder and have the users to download fonts to the folder. After that a simple schedule task GPO on clients to copy the
    *.ttf files from the folder to the C:\Windows\Fonts folder. Since tha task can be run by administrative privileges I guess there will be no problem.
    Regards.
    Mahdi Tehrani Loves Powershell
    Please kindly click on Propose As Answer
    or to mark this post as
    and helpful to other people.

  • How can I allow users to save fillable forms I've created in Acrobat 9 Pro?

    Do I have to use Live Cyle Designer? I require all users to use Acrobat Reader 11 so I do not have to Reader Enable each form, which is a hassle.

    No, you don't need to use LiveCycle Designer. To create a form, first create the PDF and open it in Acrobat. You can then add the form fields by selecting: Forms > Add or Edit Fields
    It will ask you if you want Acrobat to attempt to create fields automatically where it thinks they should be. The form will then be opened in form editing mode and you can add/edit the fields.

  • How can I allow user to customize the functionality of program at runtime? (not using runtime code compilation)

    Using .NET Framework 4.0 what features are available that would allow to accomplish something very modular and user customizable, like depicted in this XML.  Where I define specific base operations like Get() and Put() methods that operate on strings. 
    And allow the user to add and remove those or mix and match them in a way that they basically design their own run time functionality that suits them.  So they just create their own 'Operation' and fill it with the operations they want to perform on some
    incoming data type, in this case it is a string - with substring and insert methods. 
    EDIT - Assuming end user is non programmer and Dynamic Code compilation is not an option.  I have an idea maybe using dynamic keyword, but not sure if it makes what i suggest possible.
    <Operation Name="GetValues">
      <Get id=123"  FromIndex="2" ToIndex="23"/>
      <Get id="234"  FromIndex="3" ToIndex="5"/>
       <Output Path="C:\" Filename="testOut.txt" Append="true">
         <Format>
              <Result id="123"/> , <Result id="234"/>
         </Format>
       </Output>
    </Operation>
    <Operation Name="InsertValue">
      <Put AtIndex="5">stringtoinsert</Put>
      <Put AtIndex="36">anotherstringtoinsert</Put>
    </Operation>

    Hi sjs1978,
    I am not familiar with dynamic code, and I made a research about it.
    >> I'm aware of dynamic code compilation, but that requires user to input pieces of code.
    Did you try to store the pieces of code into a file and call the code when the dynamic code compilation requires user to input code?
    In addition, I found links about using code provider to compile a source file, and the links below might be useful to you.
    # Dynamic Source Code Generation and Compilation
    https://msdn.microsoft.com/en-us/library/650ax5cx(v=vs.110).aspx
    # CSharpCodeProvider Class
    https://msdn.microsoft.com/en-us/library/microsoft.csharp.csharpcodeprovider(v=vs.110).aspx
    # Is it possible to dynamically compile and execute C# code fragments?
    http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments
    Best Regards,
    Tony
    Help each other

  • How can I allow users to change an image on my site?

    I am running this website...   www.northernilskywarn.org
    I have user log ins/permissios set up. However, the flashing GIF image in the top left that says "current net status," I want logged in users to be able to land on a page, have something like a drop down box or something that has different options like "Blue, Green, Yellow, Red" so when they click the image they want, click submit, it changes it on the site.  I'm not sure what kind of script I would use.
    Thanks in advanced!

    You might want to take time to work through this 3-part tutorial. 
    Building your first dynamic website:
    http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
    Nancy O.

  • How can I allow users to upload files when they submit a contact form?

    I need my users to be able to send me pdf, ai, psd, and jpeg images for a custom tshirt website I'm building Thanks for any suggestions-- Lory

    Hello,
    Please check the similar forum thread below.
    https://forums.adobe.com/thread/1213492
    Regards
    Vivek

  • How can i allow a set of user to access to an application

    At the moment i have an application that only i can login as the adminstator and i want to be able to let a group of students run the application only (no editing of the application).
    I then have a form that loads straight after the login that should show the details of the student that has just logged in.
    I already have a students table so is it just a case of adding a password field to the table and pointing the login screen to check this table? If so how can i then set their access to read only?

    This is what I did... it is quick and dirty!
    1 exported the app "Project"
    2 imported the app "project" and renamed it "project2". Doing this means that I won't cause any damage to his current application
    3 examined authentication- currently set to Application Express. Application Express requires that the user and passwords match account created in the admin section of application express.
    4 We're after a scheme that authorises based on a table of users in the application workspace schema. The authentication scheme just needs to know the name of a function which has a standard signiture such as fn_auth(p_username varchar2, p_password varchar2) return boolean;
    In the SQL Workshop I looked at the "user" table to be used and noticed that it does not contain a loginname column so for this example based this on a case insensitive first name and last name concatenation (with a space in the middle).
    Now we need to add a simple authenticate function...
    create or replace fn_auth (p_username varchar2, p_password varchar2) return boolean is
    begin
    for x in(select 1 from student where upper(trim(first_name' 'family_name))=upper(p_username) and upper(password)=p_password) loop
    return true;
    end loop;
    return false;
    end;
    5 And finally modify the app to use this new function. Add a new scheme and in the Login Processing section of the ahthentication scheme modify the function to
    return fn_auth
    6 As an aside, I also added a report of user names and their passwords which is shown on page 101 if the user is running in debug mode. Obviously, this would need to be stripped out when the app was released to production. This will not show if the URL is navigated to and the user is not logged in as an APEX developer by using a condition based on a funtion body and the following to determine whether the app is being run for a user or for a developer:
    IF APEX_Application.g_edit_cookie_session_id IS NOT NULL THEN return true;
    ELSE
    return false;
    END IF;

  • How can I allow other users on my macbook to view my iphoto library when th

    How can I allow other users on my macbook to view my iphoto library when they are logged in. I do not have a network, and the users (my family) all log in seperately when they use the computer. Does anyone know? Thank you.

    rdoss
    Welcome to the Apple Discussions.
    If you want others to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account(s). In the other account(s), enable 'Look For Shared Libraries'. Your Library will appear in their source pane.
    Remember iPhoto must be running in both accounts for this to work.
    Regards
    TD

Maybe you are looking for

  • Exchange calendar in iCloud

    Ok so I am a new macbook owner and am trying to get my calendars sync'ed on all my devices.  Here is what I have: 1)  Work Dell PC connected to company exchange server 2)  iPhone syned with my me.com and company exchange server 3)  MacBook with my me

  • How do I copy and paste a PDF

    How do I copy and paste a PDF?

  • My MacBook Air is running very slowly and has difficulty staying connected to wifi networks.

    Problem description: My mac is running very slowly and I have difficulty staying connected to wifi networks. I have only used half of my hard drive. My computer was purchased in Canada, where I used it for over a year but now I am living in the US. E

  • SDK to allow Searching of documents in Adobe Reader

    Is there an SDK available that will allow for searching a document in  Adobe Reader?  I'd prefer something that can be used in c# or c++.  I  know the DDE and IAC SDKs are available for Adobe Acrobat, but they are  not functional with Adobe Reader.

  • How can I change the email I set my mail to?

    When I got my iPhone I set my mail to my Gmail account and have now changed the account I used most often to another Gmail account. How can I change Mail so that it receives emails from the second Gmail account and not the first?