More secure permissions for /root and /etc/sysctl.conf

Ben Woods woodsb02 at gmail.com
Sun Feb 2 13:44:01 UTC 2020


On Sun, 2 Feb 2020 at 09:46, Ben Woods <woodsb02 at gmail.com> wrote:

> On Sun, 2 Feb 2020 at 03:05, Rodney W. Grimes <
> freebsd-rwg at gndrsh.dnsmgr.net> wrote:
>
>> c) The default for home directories in all the BSD's I looked at
>>    are 755.
>>
>> d) All distributions I looked at ship /root as 755.  This would be
>>    FreeBSD as the odd man out.
>>
>
> I just spun up a few other BSD's to check this, and found the following
> for /root permissions:
>
> DragonFlyBSD 5.6.2 = 700
> HardenedBSD build 104 = 755
> NetBSD 9.0 RC1 = 755
> OpenBSD 6.6 = 700
>

In case anyone is interested, I have also had a look at a few popular Linux
distributions, and found the following for /root permissions:

ArchLinux 2020.02.01 = 700
CentOS 8 = 550
Debian 10 = 700
Fedora 31 = 550
Slackware 14.2 = 710
Ubuntu 19.10 = 700

Regards,
Ben


More information about the freebsd-hackers mailing list