From ba876a4c8d356848d1c5f0c176427f51c01779de Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 May 2020 17:54:35 +0200 Subject: [PATCH] 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 --- src/home/homed-manager-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)