Put /var/setuid-wrappers on a tmpfs
This allows all other filesystems to be mounted without the suid option.
This commit is contained in:
@@ -117,8 +117,7 @@ in
|
||||
# programs to be wrapped.
|
||||
SETUID_PATH=${config.system.path}/bin:${config.system.path}/sbin
|
||||
|
||||
if test -d ${wrapperDir}; then rm -f ${wrapperDir}/*; fi # */
|
||||
mkdir -p ${wrapperDir}
|
||||
rm -f ${wrapperDir}/* # */
|
||||
|
||||
${concatMapStrings makeSetuidWrapper setuidPrograms}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user