Xref: utzoo comp.mail.misc:980 comp.unix.questions:6784 Path: utzoo!mnetor!uunet!ncc!alberta!att-ih!ihnp4!ihuxy!ecc From: ecc@ihuxy.ATT.COM (Claeys) Newsgroups: comp.mail.misc,comp.unix.questions Subject: Re: user name in /etc/passwd GCOS field Message-ID: <2505@ihuxy.ATT.COM> Date: 29 Apr 88 13:35:44 GMT References: <1361@lznv.ATT.COM> <76@skep2.ATT.COM> <5249@ihlpg.ATT.COM> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 13 Summary: R&D UNIX (452 UNIX) has getpwcom(3X) 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