aboutsummaryrefslogtreecommitdiff
path: root/nss/db-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nss/db-Makefile')
-rw-r--r--nss/db-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/db-Makefile b/nss/db-Makefile
index f281d4d..220419c 100644
--- a/nss/db-Makefile
+++ b/nss/db-Makefile
@@ -116,7 +116,7 @@ $(VAR_DB)/shadow.db: /etc/shadow
@if chgrp shadow $@ 2>/dev/null; then \
chmod g+r $@; \
else \
- chown 0; chgrp 0; chmod 600; \
+ chown 0 $@; chgrp 0 $@; chmod 600 $@; \
echo; \
echo "Warning: The shadow password database $@"; \
echo "has been set to be readable only by root. You may want"; \