use standard mode instead of 500 for /sbin/init.

As discussed on -current, there is no sensitive info in /sbin/init
to prevent reading it from non-privileged users, nor any reason to
remove the 'x' bit as the first thing the program does is check the
uid and exit if it is not run by root.

Instead (and this is why i make the change), mode 500 prevents
operation when exporting the partition without -maproot=0 to diskless
clients.

All previuos releases are affected by the same problem, so a merge
to RELENG_6 at least would be appropriate (after proper re@ approval
of course).
This commit is contained in:
Luigi Rizzo 2006-02-28 08:02:28 +00:00
parent 29ae59edff
commit cea897b2bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156105

View File

@ -4,7 +4,6 @@
PROG= init
MAN= init.8
MLINKS= init.8 securelevel.8
BINMODE=500
PRECIOUSPROG=
INSTALLFLAGS=-b -B.bak
WARNS?= 6