Question

Need help with this assignment. Need code and screenshots. Using SQL Developer and SQLPlus Here is...

Need help with this assignment. Need code and screenshots.

Using SQL Developer and SQLPlus

Here is the information.

1. Create user user1

a. The default tablespace is USERS.

b. The temporary tablespace is TEMP.

c. The account is initially locked.

d. The user account will be assigned to DEFAULT profile.

e. The USERS tablespace has a 10 MB quota. provide your statement here

2. Use SQLPlus to connect as user1. Explain what happened and way to fix it.

3. Give user1 permission to see information in OE.CUSTOMERS table

4. Test the permission you granted

5. As user1 update the last name of the customer with customer ID 188. Explain results.

6. When you connected as user1 find all objects which names starts with DBA_. Connect as system, find all objects which names starts with DBA_. Explain the difference in information. HINT: Use ALL_OBJECTS;

7. Make user1 account password expire.

8. Use SQLPlus. Login as user1, and describe how you changed the password.

9. Create role customer_entry

10. Grant role customer_entry permission to update OE.CUSTOMERS table

11. Add user1 to the role customer_entry

12. Check permissions you granted by using data dictionary view

13. Check permissions you granted by using user1 account to update OE.CUSTOMERS table.

14. What procedures would you follow if you were told that an employee was terminated?

Please and Thank you.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer 1

create user user1 identified by password;

Answer a

Create tablespace USERS datafile 'userdata.dat' size 50M;

Answer b

Create temperory tablespace TEMP datafile 'tempdata.dat' size 50M;

Answer c

revoke all on user1;

Answer d

create profile myprofile;
alter user user1 profile myprofile;

Add a comment
Know the answer?
Add Answer to:
Need help with this assignment. Need code and screenshots. Using SQL Developer and SQLPlus Here is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Lab 3: Securing the Database Environment You have been hired as the DBA for Haphazard, Inc....

    Lab 3: Securing the Database Environment You have been hired as the DBA for Haphazard, Inc. You are asked to fulfill the following needs of the Database environment. You can choose any database, such as Oracle, MySql, Sqlserver, etc. 1. Users, roles, and privileges need to be added to the database. Identify the statements that would be used for creating the following users, roles, and privileges that match the following requirements: a. Create a user account NLitzinger identified by the...

  • 1. Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database....

    1. Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database. Give INSERT and UPDATE permission to the new role for the Orders and OrderItems table. Give SELECT permission for all user tables. 2. Write a script that (1) creates a login ID named “RobertHalliday” with the password “HelloBob”; (2) sets the default database for the login to the MyGuitarShop database; (3) creates a user named “RobertHalliday” for the login; and (4) assigns the user...

  • UNIX File Permission help, please answer the questions in the green boxes. Thank you Lab 03...

    UNIX File Permission help, please answer the questions in the green boxes. Thank you Lab 03 File Permissions In this lab we will: learn about file permissions learn to create symbolic links and hard links Utilities that will be utilized in this Lab: us, cd, less, cat touch, chmod id umask, mkdir, In, echo and redirection Users and Groups Linux supports several methods of controlling access to files an directories. In this lab we are going to learn the traditional...

  • Scenario: In your newly assigned Oracle DBA position, the security audit team wants you to be...

    Scenario: In your newly assigned Oracle DBA position, the security audit team wants you to be involved in a new project to make sure Users are created with Least Privileges, the database uses encryption for all data-at-rest, use separate table spaces for users and applications, user passwords expire on first login, quotas should be used for tablespaces as opposed to unlimited tablespaces, temporary tablespaces should be used to help speed performance, no default user passwords exist in the database, Roles...

  • SQL CODE – System Variables System variables can be set via the command line. Please write a sequence of statements to: Set safe updates to false for the session. Do the following at the global level...

    SQL CODE – System Variables System variables can be set via the command line. Please write a sequence of statements to: Set safe updates to false for the session. Do the following at the global level: Set the maximum number of connections to 45. Set the threshold for long running queries to 7 seconds – do this at the global level. Set logs to expire when they are more than 3 days old Write the commands to display the value...

  • If you could please assist me with this C# assignment. Screenshots would be greatly appreciated! Create...

    If you could please assist me with this C# assignment. Screenshots would be greatly appreciated! Create a Windows application using C# visual studio that functions like a banking account register. The graphical user interface should initially allow the user to input the account name, number, and initial balance. Ensure that the full name is entered for the customer and that only numeric values are entered for number fields when the Create Account button is selected. Separate the business logic from...

  • need help in Java Now we’ll continue our project by writing a Facebook class that contains an ArrayList of Facebook user...

    need help in Java Now we’ll continue our project by writing a Facebook class that contains an ArrayList of Facebook user objects. The Facebook class should have methods to list all of the users (i.e. print out their usernames), add a user,delete a user, and get the password hint for a user You will also need to create a driver program. The driver should create an instance of the Facebook class and display a menu containing five options: list users...

  • Need help with the code for this assignment. Python Assignment: List and Tuples We will do...

    Need help with the code for this assignment. Python Assignment: List and Tuples We will do some basic data analysis on information stored in external files. GirNames.txt contains a list of the 200 most popular names given to girls born in US from year 2000 thru 2009: (copy link and create a txt file): https://docs.google.com/document/d/11YCVqVTrzqQgp2xJqyqPruGtlyxs2X3DFWn1YUb3ddw/edit?usp=sharing BoyNames.txt contains a list of the 200 most popular names given to boys born in US from year 2000 thru 2009 (copy link and create...

  • Cybersecurity Fundamentals Lab #9: Access ControlName: ____________________ If your Kali VM is already up and running,...

    Cybersecurity Fundamentals Lab #9: Access ControlName: ____________________ If your Kali VM is already up and running, login to the root account on the VM via ssh. It does not matter whether you use a command line or GUI sshclient. If your VM is not currently up, use the vSphere web client to start your VM before logging into it via ssh.1: Create an Unprivileged User For some labs, including this one, we will need a non-root user account on the...

  • USE RAPTOR PLEASE Could you please help me to create a FLOWGORRITHM for the following information?...

    USE RAPTOR PLEASE Could you please help me to create a FLOWGORRITHM for the following information?   I need only FLOWGORRITHM showing flowchart with PICTURES (STEPS). Please help me You are writing a FLOWGORRITHM program that will act like an ATM machine. In order to access the ATM, the customer must enter their user name and their passcode. The list of legitimate users along with their user ID, passcode and account balance is provided to you below. There are only 3...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT