• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "jobs" : [{
3            "name" : "post-fs-data",
4            "cmds" : [
5                "mkdir /data/service/el1/public/account 0750 account account"
6            ]
7        }, {
8            "name" : "services:accountmgr",
9            "cmds" : [
10                "mkdir /data/service/el1/public/database 0711 ddms ddms",
11                "mkdir /data/service/el1/public/database/os_account_mgr_service 02770 account ddms",
12                "mkdir /data/service/el1/public/database/app_account_manager_service 02770 account ddms"
13            ]
14        }
15    ],
16    "services" : [{
17            "name" : "accountmgr",
18            "path" : ["/system/bin/sa_main", "/system/profile/accountmgr.xml"],
19            "permission" : [
20                "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
21                "ohos.permission.ENFORCE_USER_IDM",
22                "ohos.permission.USE_USER_IDM",
23                "ohos.permission.MANAGE_USER_IDM",
24                "ohos.permission.ACCESS_USER_AUTH_INTERNAL",
25                "ohos.permission.ACCESS_PIN_AUTH",
26                "ohos.permission.STORAGE_MANAGER"
27            ],
28            "permission_acls" : ["ohos.permission.ENFORCE_USER_IDM"],
29            "uid" : "account",
30            "gid" : ["account", "shell", "access_token"],
31            "writepid" : [
32                "/dev/cpuset/foreground/tasks",
33                "/dev/stune/foreground/tasks",
34                "/dev/blkio/foreground/tasks"
35            ],
36            "jobs" : {
37                "on-start" : "services:accountmgr"
38            },
39            "secon" : "u:r:accountmgr:s0"
40        }
41    ]
42}
43