3.39.2. Match Previous topic Parent topic Child topic Next topic

This parameter allows you to use flat files with different formats to the standard Unix password format. Match is a regular expression that is expected to match and extract the user name, password and (optional) primary group ID fields from each line in the password file. The default extracts the first two colon separated fields as user name and password, followed by a UID, followed by an (optional) primary group ID (i.e. standard Unix password file format).
# fields are separated by vertical bar |
Match ^([^\|]*)\|([^\|]*)
Tip
The default Match expression is:
Match ^([^:]*):([^:]*):?[^:]*:?([^:]*)