| gumd API Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <gum/common/gum-config.h> #define GUM_CONFIG_GENERAL #define GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS #define GUM_CONFIG_GENERAL_DEF_USR_GROUPS #define GUM_CONFIG_GENERAL_ENCRYPT_METHOD #define GUM_CONFIG_GENERAL_GID_MAX #define GUM_CONFIG_GENERAL_GID_MIN #define GUM_CONFIG_GENERAL_GROUP_FILE #define GUM_CONFIG_GENERAL_GSHADOW_FILE #define GUM_CONFIG_GENERAL_HOME_DIR_PREF #define GUM_CONFIG_GENERAL_PASSWD_FILE #define GUM_CONFIG_GENERAL_PASS_MAX_DAYS #define GUM_CONFIG_GENERAL_PASS_MIN_DAYS #define GUM_CONFIG_GENERAL_PASS_WARN_AGE #define GUM_CONFIG_GENERAL_SHADOW_FILE #define GUM_CONFIG_GENERAL_SHELL #define GUM_CONFIG_GENERAL_SKEL_DIR #define GUM_CONFIG_GENERAL_SMACK64_NEW_FILES #define GUM_CONFIG_GENERAL_SMACK64_USER_FILES #define GUM_CONFIG_GENERAL_SYS_GID_MAX #define GUM_CONFIG_GENERAL_SYS_GID_MIN #define GUM_CONFIG_GENERAL_SYS_UID_MAX #define GUM_CONFIG_GENERAL_SYS_UID_MIN #define GUM_CONFIG_GENERAL_UID_MAX #define GUM_CONFIG_GENERAL_UID_MIN #define GUM_CONFIG_GENERAL_UMASK
#define GUM_CONFIG_GENERAL "General"
A prefix for general keys. Should be used only when defining new keys.
#define GUM_CONFIG_GENERAL_DEF_ADMIN_GROUPS
Comma separate listed of groups, which admin user will be added to at the time of admin account creation. Default value is: ''
#define GUM_CONFIG_GENERAL_DEF_USR_GROUPS
Comma separate listed of groups, which every user (other than system user) will be added to at the time of user account creation. Default value is: ''
#define GUM_CONFIG_GENERAL_ENCRYPT_METHOD
Value used to set the encryption algorithm. Default value is: 'SHA512'. Other supported options are: 'MD5', 'SHA256', 'DES'.
#define GUM_CONFIG_GENERAL_GID_MAX
Maximum value for the automatic gid selection. Default value is: 60000
#define GUM_CONFIG_GENERAL_GID_MIN
Minimum value for the automatic gid selection. Default value is: 2000
#define GUM_CONFIG_GENERAL_GROUP_FILE
Path to group file which represents group information. Default is /etc/group. More information about the file format can be read at the manpages for 'group'.
Can be overriden in debug builds by setting UM_GROUP_FILE environment variable.
#define GUM_CONFIG_GENERAL_GSHADOW_FILE
Path to group file which represents shadowed group information. Default is /etc/gshadow. More information about the file format can be read at the manpages for 'gshadow'.
Can be overriden in debug builds by setting UM_GSHADOW_FILE environment variable.
#define GUM_CONFIG_GENERAL_HOME_DIR_PREF
Prefix to be used when creating home directory for the user. For example, with prefix '/home', user 'newu' home directory will be created as '/home/newu'. Default value is '/home'
Can be overriden in debug builds by setting UM_HOMEDIR_PREFIX environment variable.
#define GUM_CONFIG_GENERAL_PASSWD_FILE
Path to passwd file which represents user information. Default is /etc/passwd. More information about the file format can be read at the manpages for 'passwd'.
Can be overriden in debug builds by setting UM_PASSWD_FILE environment variable.
#define GUM_CONFIG_GENERAL_PASS_MAX_DAYS
Maximum number of days allowed between password changes. Default value is: 99999
#define GUM_CONFIG_GENERAL_PASS_MIN_DAYS
Minimum number of days a password may be used. Default value is: 0
#define GUM_CONFIG_GENERAL_PASS_WARN_AGE
Number of days warning given before a password expires. Default value is: 7
#define GUM_CONFIG_GENERAL_SHADOW_FILE
Path to shadow file which represents user shadowed password information. Default is /etc/shadow. More information about the file format can be read at the manpages for 'shadow'.
Can be overriden in debug builds by setting UM_SHADOW_FILE environment variable.
#define GUM_CONFIG_GENERAL_SHELL
Path to user shell executable. Default value is '/bin/bash'
#define GUM_CONFIG_GENERAL_SKEL_DIR
Path to skeleton folder. When new users are created, contents of the skel folder is copied to user home directory. Default value is '/etc/skel'
Can be overriden in debug builds by setting UM_SKEL_DIR environment variable.
#define GUM_CONFIG_GENERAL_SMACK64_NEW_FILES
Value used to set the smack label for newly created files and folders.
#define GUM_CONFIG_GENERAL_SMACK64_USER_FILES
Value used to set the smack label for User files and folders.
#define GUM_CONFIG_GENERAL_SYS_GID_MAX
Maximum value for the automatic gid selection for system user. Default value is: 999
#define GUM_CONFIG_GENERAL_SYS_GID_MIN
Minimum value for the automatic gid selection for system user. Default value is: 200
#define GUM_CONFIG_GENERAL_SYS_UID_MAX
Maximum value for the automatic uid selection for system user. Default value is: 999
#define GUM_CONFIG_GENERAL_SYS_UID_MIN
Minimum value for the automatic uid selection for system user. Default value is: 200
#define GUM_CONFIG_GENERAL_UID_MAX
Maximum value for the automatic uid selection. Default value is: 60000
#define GUM_CONFIG_GENERAL_UID_MIN
Minimum value for the automatic uid selection. Default value is: 2000