Previous Next Contents

4.1 UNIX module

This section documents the current state of the UNIX module. From the point of view of the application, it is named "unix" and has the pwdb_type PWDB_UNIX.

Entries supported by the "user" class of the UNIX module are as follows:

user

- username

uid

- user-id

gid

- group-id

passwd

- encrypted password

defer_pass

- "U" unless set by other database

gecos

- user information

dir

- home directory

shell

- shell executable

Entries supported by the "group" class of the UNIX module are as follows:

group

- username

gid

- group-id

passwd

- encrypted password

users

- text list of user names separated by commas

The pwdb_request() function call is only supported for the "group" class. The two entries that may be requested are:

groups

- text list of group names separated by commas

groupids

- array of gid_t values that contain the numerical form of the "groups" entry.

Note, for such requests to be honored the name of the user should be contained in the pwdb ** argument prior to the pwdb_request() call.


Previous Next Contents