Creaci�n de nuevos usuarios del sistema
Posted in 1999
Topics: General Discussion
Hola a todos, no hace falta decir que soy nuevo en esto pues lo adivinareis por lo sencillo de la pregunta: 'podeis decirme como puedo crear nuevos usuarios del sistema? Por defecto tengo creado el usuario INFORMIX, pero no s' si para crear nuevos usuarios tengo que meterlos "a pelo" con una sentencia INSERT (supongo que en la tabla "sysusers" de la base de datos "sysmaster") o por el contrario existe ya una utilidad en el sistema para crear nuevos usuarios. Gracias por vuestra ayuda.
Francisco asks:
{
Hello to all, it is not necessary to say that I am new in this because you
will guess it by the simple thing of the question:
podeis to say to me as I can create new users of the system?
By defect I have created user INFORMIX, but I do not know if to create
new users I must put them " to hair " with a sentence INSERT (I suppose
that in the table "sysusers " of the data base " to sysmaster ") or on the
contrary already exists a utility in the system to create new users.
Thanks for your aid.
}
Informix recognizes any user that the OS recognises and you can grant
permissions on your database to those users using the statements:
GRANT [CONNECT|RESOURCE|DBA] TO <username>;
OR you can:
GRANT CONNECT TO public;
The pseudo-user 'public' sets permissions for ALL users which do not have
other permissions of their own granted. These database level GRANT
statements maintain the sysusers table in the current database for you.
The sysusers table in the sysmaster database ONLY maintains permissions
for users of sysmaster. These permissions are maintained and check on a
per-database basis. Check the Guide to SQL Syntax Manual for details on
GRANT.
Art S. Kagel
"Francisco José Gambero García" wrote:
>
> Hola a todos, no hace falta decir que soy nuevo en esto pues lo
> adivinareis por lo sencillo de la pregunta:
>
> ¿podeis decirme como puedo crear nuevos usuarios del sistema?
>
> Por defecto tengo creado el usuario INFORMIX, pero no sé si para crear
> nuevos usuarios tengo que meterlos "a pelo" con una sentencia INSERT
> (supongo que en la tabla "sysusers" de la base de datos "sysmaster") o por
> el contrario existe ya una utilidad en el sistema para crear nuevos
> usuarios.
>
> Gracias por vuestra ayuda.