From owner-cvs-usrsbin Sat Mar 8 06:09:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA14615 for cvs-usrsbin-outgoing; Sat, 8 Mar 1997 06:09:31 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA14605; Sat, 8 Mar 1997 06:09:28 -0800 (PST) Date: Sat, 8 Mar 1997 06:09:28 -0800 (PST) From: Wolfram Schneider Message-Id: <199703081409.GAA14605@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pwd_mkdb Makefile pwd_mkdb.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 97/03/08 06:09:26 Modified: usr.sbin/pwd_mkdb Makefile pwd_mkdb.c Log: Allow comments in password database. The comments are copied from the password file into /etc/master.passwd and optional (-p) into /etc/passwd. Enable this feature with the compile option -DPASSWD_IGNORE_COMMENTS. The character `#' introduces a comment. Leading spaces and tabs are ignored: '^[ \t]*#.*\n$' Count an empty line - only spaces, tabs or newline - also as a comment. An empty line at the bottom of /etc/master.passwd is a common novice error and increased my mail load: '^[ \t]*\n$' Revision Changes Path 1.3 +1 -0 src/usr.sbin/pwd_mkdb/Makefile 1.16 +25 -4 src/usr.sbin/pwd_mkdb/pwd_mkdb.c