How to Create an user in Oracle
with minimum grants/privileges
we need to connect as SYSDBA
lets ceate an user test
you can see the user is created :
But can it connect?
lets open a new session
we can see it lacks create session priv.
so, we grant the create session privilege to user test
But is it able to create a table ,lets check.
it lacks the ability to create table. SO lets give the privilege.
lets test again the create table command.
its throwing error regarding no Privilege on users tablespace .
But we have given USERS as the default tablespace to test(user).
So whats the problem?
The problem is there is not quota defined for user test.
lets give some quota like "10MB" or UNLIMITED , we will giev 10MB
NOw let us test.
So we can see that we now have sufficient / minimum privileges for the user test.
Hope this will help in understanding the concept behind user creation
Looking for someone like-minded? Chances are you’ve already got one thing in common.
15,000 New members.
Soulmates sees over 15,000 new faces every month.
#1 Customer service.
Feel safe and secure, with help from our award-winning customer service team.
Recently joined Soulmates.
Meet some of our latest members.
Online Dating Success Stories.
Intrepid explorers who’ve found the person of their dreams.
Kristian & Zoe.
"We met through Soulmates four years ago. Although were both based in London, the chances of us meeting by other means were slim. We just got married! Zoe is the most wonderful woman Ive ever met, and I know we are going to have an extremely happy life together."
Laura & Phil.
"Phil and I got married just over a year after we met on my first ever internet date through Guardian Soulmates. Weve been recommending the site to friends ever since. Thank you!" (Photography credit to Michael OSullivan)
Robin & Alec.
"I just wanted to let you know that you have another success story! My boyfriend, who I met via your site about two years ago, just proposed and we are getting married next year. THANK YOU!"
Alex & Rosie.
"Rosie and I met through Soulmates and were married in October, just 17 months later. Were wonderfully happy together!"
How does it work?
Find your Soulmate in three easy steps.
Register your free account today.