svn commit: r361791 - head/etc/mtree

Alexey Dokuchaev danfe at freebsd.org
Fri Jun 5 07:12:41 UTC 2020


On Thu, Jun 04, 2020 at 09:19:35AM -0700, Cy Schubert wrote:
> In message <202006041604.054G4KAb098395 at repo.freebsd.org>, Conrad Meyer
> writes:
> > New Revision: 361791
> > URL: https://svnweb.freebsd.org/changeset/base/361791
> >
> > Log:
> >   Restrict default /root permissions
> >   
> > ...
> > @@ -117,7 +117,7 @@
> >      ..
> >      rescue
> >      ..
> > -    root
> > +    root            mode=0750
> >      ..
> 
> Recent CIS benchmarks recommend 0700.

Please, let's keep a reasonable balance between security and usability.
I often visit /root as a regular user (wheel'ed), and 0700 would make
it real PITA.

./danfe


More information about the svn-src-head mailing list