| Top |
#define GUM_CONFIG_GENERAL "General"
A prefix for general keys. Should be used only when defining new keys.
#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_USR_PRIMARY_GRPNAME
Primary group name for the new user. If the primary group does not exist, it will be created otherwise user gid will be set accordingly. Default primary group name is same as name of the user.
#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_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_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_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_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_UID_MIN
Minimum value for the automatic uid selection. Default value is: 2000
#define GUM_CONFIG_GENERAL_UID_MAX
Maximum value for the automatic uid selection. Default value is: 60000
#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_SYS_UID_MAX
Maximum value for the automatic uid selection for system user. Default value is: 999
#define GUM_CONFIG_GENERAL_GID_MIN
Minimum value for the automatic gid selection. Default value is: 2000
#define GUM_CONFIG_GENERAL_GID_MAX
Maximum value for the automatic gid selection. Default value is: 60000
#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_GID_MAX
Maximum value for the automatic gid selection for system user. Default value is: 999
#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_MAX_DAYS
Maximum number of days allowed between password changes. Default value is: 99999
#define GUM_CONFIG_GENERAL_PASS_WARN_AGE
Number of days warning given before a password expires. Default value is: 7
#define GUM_CONFIG_GENERAL_UMASK
Value used to set the mode of home directories created for new users. Default value is: 077
#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_SMACK64_NEW_FILES
Value used to set the smack label for newly created files and folders.