Group
is a Struct
that is only available when compiled with HAVE_GETGRENT
.
The struct contains the following members:
contains the name of the group as a String.
contains the encrypted password as a String. An 'x' is returned if password access to the group is not available; an empty string is returned if no password is needed to obtain membership of the group.
Must be compiled with HAVE_STRUCT_GROUP_GR_PASSWD
.
contains the group's numeric ID as an integer.
is an Array of Strings containing the short login names of the members of the group.
Passwd
is a Struct
that contains the following members:
contains the short login name of the user as a String.
contains the encrypted password of the user as a String. an 'x' is returned if shadow passwords are in use. An '*' is returned if the user cannot log in using a password.
contains the integer user ID (uid) of the user.
contains the integer group ID (gid) of the user's primary group.
contains the path to the home directory of the user as a String.
contains the path to the login shell of the user as a String.
contains a longer String description of the user, such as a full name. Some Unix systems provide structured information in the gecos field, but this is system-dependent. must be compiled with HAVE_STRUCT_PASSWD_PW_GECOS
password change time(integer) must be compiled with HAVE_STRUCT_PASSWD_PW_CHANGE
quota value(integer) must be compiled with HAVE_STRUCT_PASSWD_PW_QUOTA
password age(integer) must be compiled with HAVE_STRUCT_PASSWD_PW_AGE
user access class(string) must be compiled with HAVE_STRUCT_PASSWD_PW_CLASS
comment(string) must be compiled with HAVE_STRUCT_PASSWD_PW_COMMENT
account expiration time(integer) must be compiled with HAVE_STRUCT_PASSWD_PW_EXPIRE