UNIX environment variables and permission requirements
If you're using the nzl command to compile and install an nzLua UDX, you're required to set the $NZ_USER and $NZ_PASSWORD environment variables. If the $NZ_DATABASE environment variable isn’t set, the -d option must be used to indicate the name of the database where the UDX is to be installed. The nzl command doesn’t use passwords that were cached with the nzpassword command. If schemas are enabled, and if you do not want to use the default schema for the specified database, you can use the $NZ_SCHEMA environment variable or the -s option to indicate the name of the schema where the UDX is to be installed.
A user must have run permissions on the programs in the /nz/extensions/nz/nzlua/bin directory and read access to the files in the /nz/extensions/nz/nzlua/include, /nz/extensions/nz/nzlua/lib, and /nz/extensions/nz/nzlua/src directories. The default permissions for these directories are probably already set correctly by the nzLua installation process.