After installation, make 'clients' and 'clients.conf' r/w only
authoraland <aland>
Wed, 30 Oct 2002 18:15:43 +0000 (18:15 +0000)
committeraland <aland>
Wed, 30 Oct 2002 18:15:43 +0000 (18:15 +0000)
by the owner, and non-readable by everyone else.

Makefile

index 8081f9f..ea2baa4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ install:
                [ $$i != radiusd.conf.in -a ! -f $(R)$(raddbdir)/$$i ] && \
                 $(INSTALL) -m 644 $$i $(R)$(raddbdir); \
        done; \
-       chmod go-rwx $(R)$(raddbdir)/naspasswd; \
+       chmod 600 $(R)$(raddbdir)/naspasswd $(R)$(raddbdir)/clients $(R)$(raddbdir)/clients.conf; \
        for i in dictionary*; do \
                [ ! -f $(R)$(raddbdir)/$$i ] && $(INSTALL) -m 644 $$i $(R)$(raddbdir); \
                if [ "`find $$i -newer $(R)$(raddbdir)/$$i`" ]; then \