Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!ncar!boulder!ccncsu!longs.LANCE.ColoState.Edu!steved From: steved@longs.LANCE.ColoState.Edu (Steve Dempsey) Newsgroups: comp.unix.questions Subject: Re: Comments in /etc/passwd Summary: caution when doing this sort of thing Keywords: passwd comments Message-ID: <934@ccncsu.ColoState.EDU> Date: 6 Jan 89 04:21:22 GMT References: <18759@agate.BERKELEY.EDU> Sender: news@ccncsu.ColoState.EDU Reply-To: steved@longs.lance.colostate.edu (Steve Dempsey) Organization: Colorado State University, Fort Collins, CO 80523 Lines: 20 In article <18759@agate.BERKELEY.EDU> barn@paxton.ced.berkeley.edu (Gary Barnette) writes: > > Can somone tell me if it is OK to have comments ( #... ) > in /etc/passwd. Passwd(5) doesn't tell me. Running > BSD 4.2 version 3.2 on Suns. I can't think of any stock 4.[23]/SunOS code that is likely to break. For my own utilities that might not be robust enough (:-) and anything else that may be lurking, I'd make the comment in the form of a legitimate passwd entry - something like this: #:*:-99:-99:*** comments go here ***:/:/nologinshell >Gary Barnette >barn@CED.berkeley.edu Steve Dempsey, Center for Computer Assisted Engineering Colorado State University, Fort Collins, CO 80523 +1 303 491 0630 INET: steved@longs.LANCE.ColoState.Edu, dempsey@handel.CS.ColoState.Edu UUCP: boulder!ccncsu!longs.LANCE.ColoState.Edu!steved, ...!ncar!handel!dempsey