diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index 472b377..46774a2 100644 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -23,7 +23,7 @@ ohos_prebuilt_etc("faceauth_sa_profile.init") { if (use_musl) { source = "faceauth_sa_profile.cfg" } else { - source = "faceauth_sys.cfg" + source = "faceauth_bionic.cfg" } relative_install_dir = "init" subsystem_name = "useriam" diff --git a/sa_profile/faceauth_sys.cfg b/sa_profile/faceauth_bionic.cfg similarity index 84% rename from sa_profile/faceauth_sys.cfg rename to sa_profile/faceauth_bionic.cfg index 0291843..55091e8 100644 --- a/sa_profile/faceauth_sys.cfg +++ b/sa_profile/faceauth_bionic.cfg @@ -10,8 +10,8 @@ "services" : [{ "name" : "faceauth", "path" : ["/system/bin/sa_main", "/system/profile/faceauth.xml"], - "uid" : "system", - "gid" : ["system", "shell"], + "uid" : "ohos_useriam", + "gid" : ["ohos_useriam", "shell"], "secon" : "u:r:faceauth:s0", "start-mode" : "condition" }