Re: We should disable dmesg for unprivileged users by default

2019-07-17 Thread Tobias Geerinckx-Rice
Alex, Alex Vong 写道: I think we should set /proc/sys/kernel/dmesg_restrict to 1 by default to prevent unprivileged users from reading the kernel ring buffer (since it could expose sensitive information about the system). Debian does this. I don't know about other distros. I do this on all my

Re: We should disable dmesg for unprivileged users by default

2019-07-16 Thread Alex Vong
Hello, Ricardo Wurmus writes: > Ludovic Courtès writes: > >> Hi, >> >> Alex Vong skribis: >> >>> I think we should set /proc/sys/kernel/dmesg_restrict to 1 by default to >>> prevent unprivileged users from reading the kernel ring buffer (since it >>> could expose sensitive information about the

Re: We should disable dmesg for unprivileged users by default

2019-07-15 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hi, > > Alex Vong skribis: > >> I think we should set /proc/sys/kernel/dmesg_restrict to 1 by default to >> prevent unprivileged users from reading the kernel ring buffer (since it >> could expose sensitive information about the system). > > We could have a ‘dmesg-res

Re: We should disable dmesg for unprivileged users by default

2019-07-14 Thread Ludovic Courtès
Hi, Alex Vong skribis: > I think we should set /proc/sys/kernel/dmesg_restrict to 1 by default to > prevent unprivileged users from reading the kernel ring buffer (since it > could expose sensitive information about the system). We could have a ‘dmesg-restrict’ service that would write to that

Re: We should disable dmesg for unprivileged users by default

2019-07-12 Thread Pierre Neidhardt
And we could make it an operating system option then? -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

We should disable dmesg for unprivileged users by default

2019-07-12 Thread Alex Vong
Hello Guix, I think we should set /proc/sys/kernel/dmesg_restrict to 1 by default to prevent unprivileged users from reading the kernel ring buffer (since it could expose sensitive information about the system). Debian does this. I don't know about other distros. Cheers, Alex signature.asc Des