summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-09-15 20:00:36 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-15 20:00:36 +0200
commita31d1d10e09183a999ab9736e0625415bd87fe25 (patch)
tree64f730c2ac1f06c32d87cf820aa809eba5bed3d4 /modules/luci-base
parent3e1cf14ad16147ef749ef77e86470a6d83df50ff (diff)
luci-mod-system: reimplement SSH key mgmt as client side view
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
index d364508c27..e28bdfa727 100644
--- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
+++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json
@@ -24,6 +24,7 @@
"/": [ "list" ],
"/*": [ "list" ],
"/etc/crontabs/root": [ "read" ],
+ "/etc/dropbear/authorized_keys": [ "read" ],
"/etc/rc.local": [ "read" ],
"/proc/sys/kernel/hostname": [ "read" ]
},
@@ -42,6 +43,7 @@
"cgi-io": [ "upload", "/etc/luci-uploads/*" ],
"file": {
"/etc/crontabs/root": [ "write" ],
+ "/etc/dropbear/authorized_keys": [ "write" ],
"/etc/luci-uploads/*": [ "write" ],
"/etc/rc.local": [ "write" ]
},