user name in /etc/passwd GCOS field

Claeys ecc at ihuxy.ATT.COM
Fri Apr 29 23:35:44 AEST 1988


If you're running on an R&D UNIX system machine (formerly called 452 UNIX),
you can use the getpwcom(3X) routine and use the c_name field to access
the GCOS field.
Most of the larger R&D comp centers have some tools to help add, modify,
and delete logins, and those tools usually use getpwcom(3X) and putpwcom()
to access the GCOS field.

The bug in the passwd command that would dump core when the GCOS field
wasn't in the format specified in getpwcom(3X) has been fixed in R&D UNIX;
you'll eventually see it on your machine.

Eric C



More information about the Comp.unix.questions mailing list