user extra info setup Introduction The information stored in the user account database (/etc/passwd) is often incomplete. One often wish he could add fields there and the the administration tool would cope with those new fields. The userinfo module provides a solution to this problem. 11.. PPrriinncciippllee The user account dialog may be extended by modules. They can add various sections, fields and validations. The userinfo module is a generic extension allowing you to define arbitrary extra fields. Those fields will show in the account dialog. You use the "Add" button to define new fields. 22.. FFiieelldd ddeeffiinniittiioonn You can add as many field as needed. For each field, you must provide the following informations 22..11.. IIDD You must provide a tag uniquely identifying the field. This tag will be used as the key to locate the value of the field in the /etc/userinfo.conf database. The ID can't contain spaces. 22..22.. FFiieelldd ttiittllee This title will be used to build the dialog. The string must not be too long to fit in the dialog. While linuxconf will adjust the dialog to fit the various string. There are nevertheless arbitrary limits imposed by the various user interfaces, such as the text mode limiting overall width to 80 columns. 22..33.. FFiieelldd ttyyppee You must select the type of edit control which will be used to build the dialog. This is fixed list. You must pick one of +o Character string +o Checkbox (On/Off value) +o Numeric value (Integer) +o Enumeration (Pick list) Each field type may have its features. Here they are, 22..33..11.. SSttrriinngg ffiieelldd A check box let you control is the field must be filled or not by the user. 22..33..22.. NNuummeerriicc ffiieelldd You must specify the minimum and maximum value of the field. 22..33..33.. EEnnuummeerraattiioonn You must enter all possible value (At least two).