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:
parent
adf2710156
commit
883415e84d
@ -4,7 +4,6 @@
|
||||
PROG= init
|
||||
MAN= init.8
|
||||
MLINKS= init.8 securelevel.8
|
||||
BINMODE=500
|
||||
PRECIOUSPROG=
|
||||
INSTALLFLAGS=-b -B.bak
|
||||
WARNS?= 6
|
||||
|
Loading…
x
Reference in New Issue
Block a user