mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
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:
parent
be28f72d6a
commit
ba876a4c8d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user