Re: [systemd-devel] Normal user can ask status of services

2023-08-28 Thread Michael Biebl
Am Sa., 26. Aug. 2023 um 15:25 Uhr schrieb Andrei Borzenkov : > > On 26.08.2023 15:46, Michael Biebl wrote: > > > > Reading system logs is a privileged operation. > > > > It is not about reading logs but about being able to "systemctl status > some-system-unit" I was referring to the part "War

Re: [systemd-devel] Normal user can ask status of services

2023-08-27 Thread Demi Marie Obenour
On Sun, Aug 27, 2023 at 07:35:53PM +0200, Cecil Westerhof wrote: > Op zo 27 aug 2023 om 18:30 schreef Leon Fauster >: > > > Am 26.08.23 um 18:41 schrieb Cecil Westerhof: > > > Replying on google does not work as I am used to. It sends to the sender > > > instead of the group. 😱 > > > > > > Op za

Re: [systemd-devel] Normal user can ask status of services

2023-08-27 Thread Andrei Borzenkov
On 27.08.2023 20:35, Cecil Westerhof wrote: Op zo 27 aug 2023 om 18:30 schreef Leon Fauster : Am 26.08.23 um 18:41 schrieb Cecil Westerhof: Replying on google does not work as I am used to. It sends to the sender instead of the group. 😱 Op za 26 aug 2023 om 18:36 schreef Cecil Westerhof mai

Re: [systemd-devel] Normal user can ask status of services

2023-08-27 Thread Cecil Westerhof
Op zo 27 aug 2023 om 18:30 schreef Leon Fauster : > Am 26.08.23 um 18:41 schrieb Cecil Westerhof: > > Replying on google does not work as I am used to. It sends to the sender > > instead of the group. 😱 > > > > Op za 26 aug 2023 om 18:36 schreef Cecil Westerhof > > mailto:cldwester...@gmail.com>>:

Re: [systemd-devel] Normal user can ask status of services

2023-08-27 Thread Leon Fauster
Am 26.08.23 um 18:41 schrieb Cecil Westerhof: Replying on google does not work as I am used to. It sends to the sender instead of the group. 😱 Op za 26 aug 2023 om 18:36 schreef Cecil Westerhof mailto:cldwester...@gmail.com>>: Op za 26 aug 2023 om 14:46 schreef Michael Biebl mailto:mbi..

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
Replying on google does not work as I am used to. It sends to the sender instead of the group. 😱 Op za 26 aug 2023 om 18:36 schreef Cecil Westerhof : > Op za 26 aug 2023 om 14:46 schreef Michael Biebl : > >> Am Sa., 26. Aug. 2023 um 09:44 Uhr schrieb Cecil Westerhof >> : >> > >> > I am at last im

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
Replying on google does not work as I am used to. It sends to the sender instead of the group. 😱 Op za 26 aug 2023 om 18:31 schreef Cecil Westerhof : > > Op za 26 aug 2023 om 17:35 schreef Dave Howorth : > >> On Sat, 26 Aug 2023 16:17:46 +0300 >> Andrei Borzenkov wrote: >> > On 26.08.2023 15:46,

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Cecil Westerhof
Op za 26 aug 2023 om 15:16 schreef Andrei Borzenkov : > Do not send personal reply to the list post. > > On 26.08.2023 15:35, Cecil Westerhof wrote: > > Op za 26 aug 2023 om 13:45 schreef Andrei Borzenkov >: > > > >> On 26.08.2023 10:44, Cecil Westerhof wrote: > >>> > >>> Is this the expected beh

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Dave Howorth
On Sat, 26 Aug 2023 16:17:46 +0300 Andrei Borzenkov wrote: > On 26.08.2023 15:46, Michael Biebl wrote: > > > > Reading system logs is a privileged operation. > > It is not about reading logs but about being able to "systemctl > status some-system-unit" > > > You can grant this privilege to indi

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Andrei Borzenkov
On 26.08.2023 15:46, Michael Biebl wrote: Reading system logs is a privileged operation. It is not about reading logs but about being able to "systemctl status some-system-unit" You can grant this privilege to individual users by adding them to the systemd-journal (or adm) group. The q

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Andrei Borzenkov
Do not send personal reply to the list post. On 26.08.2023 15:35, Cecil Westerhof wrote: Op za 26 aug 2023 om 13:45 schreef Andrei Borzenkov : On 26.08.2023 10:44, Cecil Westerhof wrote: Is this the expected behaviour? Yes, it is. It seemed strange to me, but I will not worry then. Than

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Michael Biebl
Am Sa., 26. Aug. 2023 um 09:44 Uhr schrieb Cecil Westerhof : > > I am at last implementing systemd timers. The service I created can have its > status queried by a normal user. I thought I must have made a mistake. But > when I do: > systemctl status cron > > I get: > ● cron.service - Reg

Re: [systemd-devel] Normal user can ask status of services

2023-08-26 Thread Andrei Borzenkov
On 26.08.2023 10:44, Cecil Westerhof wrote: Is this the expected behaviour? Yes, it is.