Revert "Revert "Change passwd, group, shadow file's location"" 25/188725/1 accepted/tizen/base/20180910.023926 submit/tizen_base/20180910.013244
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 10 Sep 2018 01:32:06 +0000 (01:32 +0000)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 10 Sep 2018 01:32:06 +0000 (01:32 +0000)
This reverts commit fc56b5c650d2e3499183ebfcaddfe0c87e6c3e27.

Change-Id: I55180e665ad066edaeb7001c88121f829f320b96

lib/defines.h

index 0c94fd3..4782e1c 100644 (file)
@@ -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