* Makefile and /etc/passwd
@ 2004-07-08 3:22 Russell Coker
0 siblings, 0 replies; only message in thread
From: Russell Coker @ 2004-07-08 3:22 UTC (permalink / raw)
To: SE Linux; +Cc: Stephen Smalley
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
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.
--
http://apac.redhat.com/disclaimer
See above URL for disclaimer.
[-- Attachment #2: diff --]
[-- Type: text/x-diff, Size: 557 bytes --]
diff -ru /usr/src/se/policy/Makefile ./Makefile
--- /usr/src/se/policy/Makefile 2004-06-30 13:03:10.000000000 +1000
+++ ./Makefile 2004-07-06 13:35:59.000000000 +1000
@@ -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) > $@.tmp
@grep -v "^/root" $@.tmp > $@.root
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-08 3:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-08 3:22 Makefile and /etc/passwd Russell Coker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.