From eb33f7f73f5a9995d6c1a3eb23f0aaa2de310a2c Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Mon, 15 Oct 2018 20:11:53 +0000 Subject: pw: respect path specified using -V when writing pw.conf, and -C is not explicitly specified. -V path is already used to determine which file to read default values from, so it's only logical to write them to the same file. PR: 231653 Reviewed by: eugen, bapt Approved by: re (gjb), kib (mentor) Differential Revision: https://reviews.freebsd.org/D17566 --- pw/pw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pw/pw.h') diff --git a/pw/pw.h b/pw/pw.h index fde3ce3..d5e2c60 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -64,6 +64,7 @@ enum _which }; #define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO) +#define _PW_CONF "pw.conf" #define _PATH_PW_CONF "/etc/pw.conf" #define _UC_MAXLINE 1024 #define _UC_MAXSHELLS 32 -- cgit v1.2.3-56-ge451