For a non-root Informix v11.7 installation created by user1
, user1
impliclitly is granted DBSA rights.
How to grant user2
the equivalent rights as user1
, that are DBSA rights?
user2
shall be able to
- toggle the DB-server between single user- and online-mode (
onmode -j/-m
) - run the
dbexport
anddbimport
tools.
Both user accounts (user1
and user2
) are OS user accounts.
Update:
The $INFORMIXDIR
-tree is owned by user1:group1
and user2
is member of group1
.
If user2
runs onmode/dbexport/dbimport
as mentioned above, the following error message is issued (roughly):
onmode -j
and onmode -m
return:
Must be a DBSA to run this program
dbexport "db@dbs" -c -q -ss
and dbimport -c -q -i . "db@dbs"
return:
-1809 - Server rejected the connection.
and the log file shows:
00:00:00 Reject connection - 12
00:00:00 Error: Local user validation failed.
As far as I can remember, we concluded that it was not reliable to allow members of the owner's group to be treated as DBSA (or DBSSO or AAO) because, in general, people who can't use a regular root-privileged installation of Informix would also not be able to control who belongs to the group(s) that they belong to. Thus, a private installation of Informix is administered by a single administrator. We looked long and hard at the alternative, but there wasn't a truly reliable way to fix it.
So, I don't think you can have a DBSA group with a private server.