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
This commit is contained in:
Lennart Poettering 2020-05-06 17:54:35 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent be28f72d6a
commit ba876a4c8d
1 changed files with 1 additions and 1 deletions

View File

@ -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)