Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grant SELECT access to user

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
I have a UNIX system id 'foo'

and I would like to give 'foo' SELECT access to a Database Instance 'inst1'

How do I do that?

TIA


 
Mag0007,

you need to do grant select access table by table.

eg

GRANT SELECT ON EMPLOYEE TO USER foo

You may also have to do a

GRANT CONNECT ON DATABASE TO foo

I don't know if you implicitly get connect because you can select. I was told this was the case but it proved to be untrue at my site.

Cheers
Greg



 
Great! Thanks.

Looks like that works. I am trying to be secure as possible.

Now the USER = UnixAccount, and it seems to work. I guess thats cool :)
or is that bad?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top