From e613568d3993e493f882ccca149dd2112d4eac7c Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Mon, 10 Sep 2018 01:32:06 +0000 Subject: [PATCH] Revert "Revert "Change passwd, group, shadow file's location"" This reverts commit fc56b5c650d2e3499183ebfcaddfe0c87e6c3e27. Change-Id: I55180e665ad066edaeb7001c88121f829f320b96 --- lib/defines.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/defines.h b/lib/defines.h index 0c94fd3..4782e1c 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -299,20 +299,20 @@ char *strchr (), *strrchr (), *strtok (); (strncpy((A), (B), sizeof(A) - 1), (A)[sizeof(A) - 1] = '\0') #ifndef PASSWD_FILE -#define PASSWD_FILE "/etc/passwd" +#define PASSWD_FILE "/opt/etc/passwd" #endif #ifndef GROUP_FILE -#define GROUP_FILE "/etc/group" +#define GROUP_FILE "/opt/etc/group" #endif #ifndef SHADOW_FILE -#define SHADOW_FILE "/etc/shadow" +#define SHADOW_FILE "/opt/etc/shadow" #endif #ifdef SHADOWGRP #ifndef SGROUP_FILE -#define SGROUP_FILE "/etc/gshadow" +#define SGROUP_FILE "/opt/etc/gshadow" #endif #endif -- 2.7.4