Re: Reg: how to avoid writable permissions of system_bus_socket file for others

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
On Wed, 28 Jul 2021 17:03:57 -0400, Robert Middleton wrote:

> On Wed, Jul 28, 2021 at 8:28 AM RAJESH DASARI
> <[email protected]> wrote:
>>
>> We tried to change the  writable permissions for others for
>> system_bus_socket file due to security reasons, but whenever we
>> change it and restart the dbus service it is changed back to others
>> writable .
>
> You probably want to look into the dbus policy files, which will let
> you configure who is allowed to connect to the bus.  At least on
> Debian/ubuntu, the default file is located at
> /usr/share/dbus-1/system.conf.  The documentation for dbus-daemon has
> some information on these policies:
> https://dbus.freedesktop.org/doc/dbus-daemon.1.html

Moral: work with the security mechanisms that are provided, don’t try
to fight them. This isn’t Microsoft Windows.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.