On Mo, 20.04.20 23:00, www (ouyangxua...@163.com) wrote: > dear all; > > > How to set some properties in systemd to read-only? Who can give the sample > code?
I don't understand the question. Do you mean a D-Bus property? They generally are read-only for unprivileged bus clients. With a PolicyKit action configuration you can open them up, but typically unprivileged clients can't change them. Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel