diff options
author | wosch <wosch@FreeBSD.org> | 1997-03-08 14:09:24 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1997-03-08 14:09:24 +0000 |
commit | 9643ba6a4a9ff57f22c669d349ea529c0d7069e8 (patch) | |
tree | 5a77e12efbd6203d2ffa3b499312172f4bb6b9f4 /usr.sbin/pwd_mkdb/Makefile | |
parent | e45d393547db1869e5f26eeceb0cc4d40799a228 (diff) | |
download | FreeBSD-src-9643ba6a4a9ff57f22c669d349ea529c0d7069e8.zip FreeBSD-src-9643ba6a4a9ff57f22c669d349ea529c0d7069e8.tar.gz |
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$'
Diffstat (limited to 'usr.sbin/pwd_mkdb/Makefile')
-rw-r--r-- | usr.sbin/pwd_mkdb/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pwd_mkdb/Makefile b/usr.sbin/pwd_mkdb/Makefile index 86116fec..25d001e 100644 --- a/usr.sbin/pwd_mkdb/Makefile +++ b/usr.sbin/pwd_mkdb/Makefile @@ -3,5 +3,6 @@ PROG= pwd_mkdb SRCS= pw_scan.c pwd_mkdb.c MAN8= pwd_mkdb.8 +CFLAGS+= -DPASSWD_IGNORE_COMMENTS .include <bsd.prog.mk> |