DataBase - user permissions in a database as a whole or tables

Asked By Gentian Hila
06-Mar-09 11:58 AM
Hello again,

I have IDS 9.40 running over RedHat.

I have quite a few databases in there. I have created a new user in
linux and need to have it as database administrator in one database
(it already has one but I need a second) and in another database the
same user needs to have SELECT, INSERT, UPDATE etc permissions in only
a number of tables and views.

Is there any documentation that can show me how to set permissions in Informix?

I looked at Administrator's Guide, Reference for IDS 9.40 but could not
find anything.

I also did look at SQL Reference Guide and could not find anything there either.

I also have Informix Server Administrator running but that even there
I cannot find how I can achieve what I described above.

I would not mind reading a reasonable amount of documentation (up to
100 pages) about this but I cannot find any so far.

Any help or direction is very much appreciated.

Thank you,

Genti
Informix
(1)
Database
(1)
Portugal
(1)
Genti
(1)
Table2
(1)
  Fernando Nunes replied to Gentian Hila
06-Mar-09 12:12 PM
I am not sure what you are rally asking.
The way to give permissions to a user is a simple GRANT. There is information
about it in the Syntax Guide and I assure you it is well under 100 pages.

Something like:

DATABASE the_db_where_user_should_have_DBA;
GRANT DBA TO user;

DATABASE the_db_where_it_should_have_some_table_permissions;
GRANT CONNECT TO user;
GRANT ... ON table1 TO user;
GRANT ... ON table2 TO user;
...

So... nothing special... And obviously documented...
If I missed the point please clarify.
Regards.


--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I do not check it frequently...
  Gentian Hila replied to Fernando Nunes
06-Mar-09 12:52 PM
No you did not miss the point. it is just that I have never done it and
could not find any direction so far.

Hope it was not a very stupid question!  But I asked because I do not
know it. That is why.



Thanks,
  Fernando Nunes replied to Gentian Hila
06-Mar-09 01:40 PM
No. it is not a stupid question. I was just surprised you did not find it in the
manual. But the fact is, the manual is organized more "alphabetic" then by
subjects (the PDF).
Checking the Information Center, provided by another poster, what you should
search for is something like "table privileges" or "database privileges".
This leads to the information you require. That's why the information center is
so useful. Of course, once you know what you need the SQL syntax guide in PDF
is quicker...

Regards.

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I do not check it frequently...
help
Creating index with upper function DataBase Informix 11 Why does not Informix allow creating indexes with upper function? Something like create index idx_last on table(upper(column)); Informix Discussions Informix (1) Oracle (1) Database (1) UDRs (1) OpenProtect (1) Informixhas (1) Portugal (1) Verdana (1) You can do this but it leaves me with a question. Why test_emp where upper(last_name) > = 3D "FRED" Estimated Cost: 205 Estimated # of Rows Returned: 1648 1) informix.test_emp: SEQUENTIAL SCAN Filters: UPPER(informix.test_emp.last_name ) > = 3D 'FRED' QUERY: - -- -- - select * from test_emp where
DB2 and Oracle - - where's Informix? DataBase No, I do not work for Uncle Mikey, but this headline required further reading. Just and what the reactions are. http: / / www.computerworld.com / s / article / 9139182 / IBM_calls_new_DB2_grid_feature_an_Oracle_Exadata_killer_ . . "flagship DB2 database" . . No marketing of course. All databases are treated equally. Some are more equal than others. John Carlson Informix Discussions Windows 7 (1) Informix (1) Oracle (1) Database (1) Incompetence (1) Mailman.171.1255541780.6236 informix (1) Portugal (1) Exadata (1) Funny. It think it was B. Spang (mentioned in the computer world
Report Tools over IDS DataBase A client just sent me this question. . .not really my area, so any help would be greatly appreciated! from an Informix Database? I also wonder if there is a tool that has a gui interface that would allow executives the ability to create these reports themselves?" TIA - Mark Scranton Xtivia Inc. Informix Discussions Informix (1) Office (1) WinSQL (1) Report (1) Microstrategy (1) Excellence (1) Database (1) Portugal (1) Mark, Do you have an option of writing a program? If yes, you can queries results in WinSQL that look like reports. Jack. Most reporting tools should work with Informix. Then there are the BI tools. They also work (Cognos obviously), but they may be
Trouble connecting from Mircrosoft SSIS to Informix Using OLEDB DataBase IDS v10FC8 HPUX 11.23 w2k3 Server Iconnect 3.00 FC2 Hello, I have a developer attempting to connect to an Informix database through OLEDB from SQL Sever 2005 SSIS. The following msg is being observed. The following OLEDB provider "ifxoledbc" for linked server "<svrname> ". (Microsoft SQL Server, Error:7399) = = = = = = = = = = = = = = = = = = = = = = = = Darren Jacobs Sr Database Analyst Darren_Jacobs@carmax.com 804.747.0422 x3221 = = = = = = = = = = = = = = = = = = = = = = = = Informix Discussions SQL Server (1) Microsoft.SqlServer.ConnectionInfo (1) Informix (1) Database (1) V10FC8 (1) Mircrosoft (1) Iconnect (1) Portugal (1) Shot in the dark. . . Try putting
What's in a name? Informix vs IDS DataBase This post is sure to get the attention ofa few of you here. This is the directive by our IBM reps. The following bulletin was sent to our support staff : - -- -- -- -- -- -- -- -- -- -- -- -- database as IBM = 92s Informix Dynamic Server (IDS). IBM does not use the Informix naming convention any longer. . . . Our agreements, documentation, customer correspondence will need to be changed slowly moving forward. . ." - -- -- -- -- -- -- -- -- -- -- -- -- For years I have been calling it the "Informix database" with my customers. Now I have to say and write the "IBM IDS database"? The customers have no idea what I am talking about. They say "You mean our