Jim Hague 9469eb6d58 PAM - get user name from a comma-less passwd comment field.
PAM authentication uses a regular expression to extract the user's real
name from the 'user name or comment field' passwd file when creating a
new account.

The current regular expression assumes the comment field contains the
user name followed by a comma and some other comma-delimited information
(the Linux 'adduser' command adds room number, work phone, home phone
and 'other' info given half a chance).

If the field just contains the user name, there is no trailing comma
and the RE match fails. Make the trailing comma optional.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-09-17 14:06:23 +12:00
..
2010-08-30 16:59:08 +12:00
2010-08-18 21:33:32 +12:00
2010-05-14 22:14:20 +12:00
2010-08-18 21:33:14 +12:00
2010-06-29 23:50:11 +12:00
2010-03-17 21:54:24 +13:00