mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
improve warnings about gdomap being started at system boot time
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30295 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
055791e2ba
commit
e65fa396b5
2 changed files with 13 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-05-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Tools/gdomap.c: security updates.
|
||||
* Tools/Makefile.postamble: make warning messages a bit clearer and
|
||||
more informative about gdomap being best started at system boot.
|
||||
|
||||
2010-05-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/Foundation/NSString.h,
|
||||
|
|
|
@ -65,16 +65,18 @@ after-install::
|
|||
if [ "`$(WHOAMI)`" != "root" ]; then \
|
||||
echo ""; \
|
||||
echo "************************************************************"; \
|
||||
echo "FAILED gdomap installation - please re-run this as root ..."; \
|
||||
echo "NOTE: gdomap MUST be installed owned by root and with"; \
|
||||
echo "the 's-bit' set unless you defined 'GDOMAP_PORT_OVERRIDE' in"; \
|
||||
echo "WARNING: gdomap has not been made setuid to root ..."; \
|
||||
echo "NOTE: Unless gdomap is started as root at system boot time,"; \
|
||||
echo "it MUST either be installed owned by root and with the"; \
|
||||
echo "'s-bit' or you must have defined 'GDOMAP_PORT_OVERRIDE' in"; \
|
||||
echo "gdomap.h before compiling gdomap.c and NSPortNameServer.m"; \
|
||||
echo "in which case you should install it by hand."; \
|
||||
echo "If you have installed by hand, ignore this message."; \
|
||||
echo "If either of those cases applies, ignore this message."; \
|
||||
echo "************************************************************"; \
|
||||
echo ""; \
|
||||
else \
|
||||
echo "Making gdomap in $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_DIR) setuid to root"; \
|
||||
echo "WARNING: if possible, you should remove the setuid flag and"; \
|
||||
echo "WARNING: have gdomap started as root at machine boot time."; \
|
||||
$(INSTALL) -m 05755 $(GNUSTEP_OBJ_DIR)/gdomap $(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_DIR); \
|
||||
fi; \
|
||||
echo "************************************************************"; \
|
||||
|
|
Loading…
Reference in a new issue