mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
Add defines to allow pwd_mkdb to build databases in a specified
directory - removing the need to hardcode /etc into pwd_mkdb
This commit is contained in:
parent
fb0e6acc6f
commit
2069b09ad3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2552
@ -44,11 +44,16 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifndef _POSIX_SOURCE
|
||||
#define _PATH_PWD "/etc"
|
||||
#define _PATH_PASSWD "/etc/passwd"
|
||||
#define _PASSWD "passwd"
|
||||
#define _PATH_MASTERPASSWD "/etc/master.passwd"
|
||||
#define _MASTERPASSWD "master.passwd"
|
||||
|
||||
#define _PATH_MP_DB "/etc/pwd.db"
|
||||
#define _MP_DB "pwd.db"
|
||||
#define _PATH_SMP_DB "/etc/spwd.db"
|
||||
#define _SMP_DB "spwd.db"
|
||||
|
||||
#define _PATH_PWD_MKDB "/usr/sbin/pwd_mkdb"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user