Creating database users
SYSTEM.ADMIN(ADMIN)=> CREATE USER dlee WITH PASSWORD 'jw8s0F4';
CREATE USERIf you are using LDAP or Kerberos authentication, you do not have to specify a password for the account. The CREATE USER command has a number of options that you can use to specify timeout options, account expirations, rowset limits (the maximum number of rows a query can return), and priority for the user session and queries. The resulting user account is owned by the user who created the account.
When you create users and groups, you can also specify session access time limits. The access time limits specify when users can start database sessions. User might be permitted to start sessions at any time on any day, or they might be given restricted access to certain days or certain hours of the day. If a user attempts to start a session during a time when they do not have access, the system displays an error message that they are outside their access time limits. Also, if a user attempts to run an nz command that creates a database session, the command also returns the error if the user is not within the allowed access time window. For more information, see the access time information in the IBM® Netezza® Advanced Security Administrator's Guide.