expanding `&' in struct passwd.pw_gecos
Gerald (Jerry) Carter
jerry at samba.org
Tue Jan 4 18:05:40 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Tim Potter wrote:
| On Tue, 2004-12-14 at 10:20 +1100, Luke Mewburn wrote:
|>On Wed, Dec 01, 2004 at 03:20:20PM +1100, Luke Mewburn wrote:
|> | Various systems (SunOS 4, Solaris, NetBSD, FreeBSD, ...)
|> | support the replacment of occurrences `&' in the pw_gecos
|> | field with the pw_name field. (See passwd(4) / passwd(5)).
|> | Unfortunately this wasn't done inside the getpwent(3) API,
|> | relying upon the end-applications to do this conversion.
|>I submitted bug #2154 with an attached patch.
|>It implements a new 'passwd expand gecos = <boolean>' global.
| I'm planning to apply this patch soon, unless anyone
| has any objections. The default for the new parameter is
| false (i.e no expansion is done).
Just curious. Is anyone besides Luke asking for this ?
I've never heard of such behavior in several years.
If only one or two people want it, I would rather leave
it out. Or as a local patch.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical