Article View: comp.mail.misc
Article #4761Re: user name in /etc/passwd GCOS field
From: Claeys
Date: Fri, 29 Apr 1988 13:35
Date: Fri, 29 Apr 1988 13:35
13 lines
1000 bytes
1000 bytes
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
Technical Details
Message-ID:
<2505@ihuxy.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!ncc!alberta!att-ih!ihnp4!ihuxy!eccReferences:
<1361@lznv.ATT.COM> <76@skep2.ATT.COM> <5249@ihlpg.ATT.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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)