Makefile and /etc/passwd
Subsystems (2)
The attached patch will cause the file_contexts file to be outdated by every change to /etc/passwd. This allows adding new users who were in the policy but not /etc/passwd previously, and also dealing with a change of location for the home directory.
Signature · 2 lines
http://apac.redhat.com/disclaimer See above URL for disclaimer.
Makefile renamed from usr/src/se/policy/Makefile +1 -1
@@ -139,7 +139,7 @@ @mkdir -p $(CONTEXTPATH)/files install -m 644 $(FC) $(FCPATH) -$(FC): $(FCFILES) domains/program domains/misc file_contexts/program file_contexts/misc users +$(FC): $(FCFILES) domains/program domains/misc file_contexts/program file_contexts/misc users /etc/passwd @echo "Building file_contexts ..." @m4 $(FCFILES) > [email protected] @grep -v "^/root" [email protected] > [email protected]