summaryrefslogtreecommitdiff
path: root/src/home/homed-manager-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-06 17:54:35 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-07 09:43:02 +0200
commitba876a4c8d356848d1c5f0c176427f51c01779de (patch)
tree7a7b0ec03cc6d86382ef737d5985df2b09a4271b /src/home/homed-manager-bus.c
parentbe28f72d6ae0798af1f7d53ff5c1b1d576d13d08 (diff)
downloadsystemd-ba876a4c8d356848d1c5f0c176427f51c01779de.tar.gz
homed: open up home dir Acquire operation to unpriv clients
Apparently unpriv clients expect to be able to auth via PAM. Kinda sucks. But it is what it is. Hence open this up. This shouldn't be too bad in effect since clients after all need to provide security creds for unlocking the home dir, in order to misuse this. Fixes: #15072
Diffstat (limited to 'src/home/homed-manager-bus.c')
-rw-r--r--src/home/homed-manager-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homed-manager-bus.c b/src/home/homed-manager-bus.c
index 1b8ec0c738..6306e12d39 100644
--- a/src/home/homed-manager-bus.c
+++ b/src/home/homed-manager-bus.c
@@ -789,7 +789,7 @@ static const sd_bus_vtable manager_vtable[] = {
"h",
SD_BUS_PARAM(send_fd),
method_acquire_home,
- SD_BUS_VTABLE_SENSITIVE),
+ SD_BUS_VTABLE_UNPRIVILEGED|SD_BUS_VTABLE_SENSITIVE),
SD_BUS_METHOD_WITH_NAMES("RefHome",
"sb",
SD_BUS_PARAM(user_name)