Re: grant dba
Posted in 2004
Each database created in an Informix instance has a separate set of users.
You can view the users for any given database with the following syntax
"select * from sysusers;"
More specifically, when you issue a grant statement -- it is exclusive to
the database currently opened, as in the following which grants dba
privileges to unixusr for the database named dbname:
echo "grant dba to unixusr;" | dbaccess dbname
echo "select * from sysusers;" | dbaccess dbname
username usertype priority password
unixusr D 9
Where D stands for DBA, C for Connect, ...
See the Manual "Informix Guide to SQL - Syntax"
Good luck,
-Tim
tomcaml@yahoo.com
(tomL) To: informix-list@iiug.org
Sent by: cc:
owner-informix-lis Subject: grant dba
t@iiug.org
01/22/2004 08:56
AM
Please respond to
tomcaml
hello!
is it possible to grant dba privileges for a single database at a time
- (as well as granting other individual privileges per database? if
so, what is the syntax?
thanks!
sending to informix-list