Re: How to create user on Informix
Posted in 1998
Teclogie wrote:
>
> Is anyone can tell me how to create a user on database on informix (like create
> user on Oracle), because I have 2 tablespaces on the same same server which
> contain diffrent databases, and I want to connect to one of these database with
> only one login.
In the database to which you want to restrict access:
REVOKE ALL FROM PUBLIC;
(select * from sysusers and revoke priveleges explicitely from any
users that are no longer valid users. Be sure not to revoke priveleges
from Informix and the database owner!)
GRANT CONNECT/RESOURCE/DBA TO <specific users>;
Now only the database owner, Informix, and those users to whom you have
explicitely granted permissions can connect to your database. All of
the users to whom permissions have been granted must also be valid
users at the OS level, though they need not have a valid password if
they are accessing the database from another host.
Art S. Kagel
Art S. Kagel