Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Restricting internal access to users.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jiju  
View profile  
 More options Aug 11 2003, 12:15 pm
Newsgroups: comp.databases.oracle.server
From: jmkuruvi...@yahoo.com (jiju)
Date: 11 Aug 2003 09:15:07 -0700
Local: Mon, Aug 11 2003 12:15 pm
Subject: Restricting internal access to users.
hello,

How do I restrict internal account access to database users? I created
a user called user1 and granted him connect and resource privileges.
Now after I connect as user1, I tried 'connect internal' and I get
connected to the database as 'SYS' which is dangerous. How can I
restrict this such that when user1 tries to 'connect internal' it will
prompt for the password. Please help.

Thanks in advance.

jiju


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chuck  
View profile  
 More options Aug 11 2003, 12:39 pm
Newsgroups: comp.databases.oracle.server
From: Chuck <chu...@softhome.net>
Date: 11 Aug 2003 16:39:45 GMT
Local: Mon, Aug 11 2003 12:39 pm
Subject: Re: Restricting internal access to users.
jmkuruvi...@yahoo.com (jiju) wrote in
news:c396a971.0308110815.fb428af@posting.google.com:

> hello,

> How do I restrict internal account access to database users? I created
> a user called user1 and granted him connect and resource privileges.
> Now after I connect as user1, I tried 'connect internal' and I get
> connected to the database as 'SYS' which is dangerous. How can I
> restrict this such that when user1 tries to 'connect internal' it will
> prompt for the password. Please help.

> Thanks in advance.

> jiju

The only people who can connect internal (or "as sysdba") without a
password are those in the operating system's DBA group. Remove non-dba
users from the DBA group.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tanel Poder  
View profile  
 More options Aug 11 2003, 1:30 pm
Newsgroups: comp.databases.oracle.server
From: "Tanel Poder" <change_to_my_first_n...@integrid.info>
Date: Mon, 11 Aug 2003 20:26:48 +0300
Local: Mon, Aug 11 2003 1:26 pm
Subject: Re: Restricting internal access to users.
Hi!

The OS user should not be in an operating system group which was set as
SYSDBA or SYSOPER group duing Oracle software installation/linking time.
Usually that means that, remove your non-privileged user from dba group.

Hm, I noticed you didn't specify on which platform you're running. The above
was for Unix, if on windows, then remove the user from ORA_DBA or
ORA_<SID>_DBA group.

Tanel.

"jiju" <jmkuruvi...@yahoo.com> wrote in message

news:c396a971.0308110815.fb428af@posting.google.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
quarkman  
View profile  
 More options Aug 11 2003, 6:05 pm
Newsgroups: comp.databases.oracle.server
From: quarkman <quark...@myrealbox.com>
Date: Tue, 12 Aug 2003 08:02:56 +1000
Local: Mon, Aug 11 2003 6:02 pm
Subject: Re: Restricting internal access to users.
On 11 Aug 2003 09:15:07 -0700, jiju <jmkuruvi...@yahoo.com> wrote:

> hello,

> How do I restrict internal account access to database users? I created
> a user called user1 and granted him connect and resource privileges.
> Now after I connect as user1, I tried 'connect internal' and I get
> connected to the database as 'SYS' which is dangerous. How can I
> restrict this such that when user1 tries to 'connect internal' it will
> prompt for the password. Please help.

> Thanks in advance.

> jiju

You've got good replies from others: you've inadvertently set up operating
system authentication for privileged users, and that's how come your
"ordinary" user is connecting internal. Remove the user from the relavant
O/S group, and he won't be able to do that. If you want to abandon
operating system authentication altogether, then you'll need to use the
orapwd utility to create a new password file, and edit the init.ora so that
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE.

But a couple of other points: you should never grant connect and resource
to a user. Those are not "privileges", they are *roles*. And the key
feature of a role is that it is a *collection* of privileges, and that
means you've granted an awful lot more to that user than you might expect.
For new users, just grant 'create session', and then specific privileges as
required ('select any table', for example. Or specific objecty privileges
such as 'select on emp').

Lastly, you don't mention an operating system or a version (two essential
nuggets of information). But if this is any Oracle version higher than or
equal to 8.0, then you shouldn't be connecting as internal anyway. Internal
is dead as of 9i, and so you'd want to not get into bad habits. Connect
"sys/something AS SYSDBA" is the new, approved way of doing the same thing,
and it has a future.

~QM


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Morgan  
View profile  
 More options Aug 11 2003, 8:17 pm
Newsgroups: comp.databases.oracle.server
From: Daniel Morgan <damor...@exxesolutions.com>
Date: Mon, 11 Aug 2003 17:18:24 -0700
Local: Mon, Aug 11 2003 8:18 pm
Subject: Re: Restricting internal access to users.

jiju wrote:
> hello,

> How do I restrict internal account access to database users? I created
> a user called user1 and granted him connect and resource privileges.
> Now after I connect as user1, I tried 'connect internal' and I get
> connected to the database as 'SYS' which is dangerous. How can I
> restrict this such that when user1 tries to 'connect internal' it will
> prompt for the password. Please help.

> Thanks in advance.

> jiju

Log on as SYS and perform the following:

DROP ROLE connect;
DROP ROLE resource;
DROP ROLE dba;

That is what Oracle recommends.

Now create specific roles that relate to what people actually do and
assign those to your users.

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damor...@x.washington.edu
(replace 'x' with a 'u' to reply)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jiju  
View profile  
 More options Aug 13 2003, 11:53 am
Newsgroups: comp.databases.oracle.server
From: jmkuruvi...@yahoo.com (jiju)
Date: 13 Aug 2003 08:53:21 -0700
Local: Wed, Aug 13 2003 11:53 am
Subject: Re: Restricting internal access to users.
I am using Oracle 8.1.7 on Windows 2000 server. Also, I am not using
OS authentication. But I guess like Quarkman said, I shouldn't grant
connect and resource roles to a user. May be I should create another
role with specific privileges and grant that role??

thanks all of you guys for responding.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Morgan  
View profile  
 More options Aug 13 2003, 1:40 pm
Newsgroups: comp.databases.oracle.server
From: Daniel Morgan <damor...@exxesolutions.com>
Date: Wed, 13 Aug 2003 10:41:13 -0700
Local: Wed, Aug 13 2003 1:41 pm
Subject: Re: Restricting internal access to users.

Exactly!

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damor...@x.washington.edu
(replace 'x' with a 'u' to reply)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »