aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:10:00 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-10 23:10:00 +0000
commit8b11366af77ba09dce52ad70342a5d4b9cde7f0b (patch)
tree2d6a477affbf924634e58b1fcab79c8925966ba5 /net-mgmt
parent11885ac90164a893c88328be8a83158468dea2a5 (diff)
downloadports-8b11366af77ba09dce52ad70342a5d4b9cde7f0b.tar.gz
ports-8b11366af77ba09dce52ad70342a5d4b9cde7f0b.zip
- Fix plist
PR: ports/85219 Submitted by: Viktor Fomichev <vfom@narod.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=142403
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/netmond/Makefile2
-rw-r--r--net-mgmt/netmond/pkg-install2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/netmond/Makefile b/net-mgmt/netmond/Makefile
index 9a39fa1bdb45..60c30ef7dc56 100644
--- a/net-mgmt/netmond/Makefile
+++ b/net-mgmt/netmond/Makefile
@@ -43,7 +43,7 @@ do-install:
@if pw user show netmon 2>/dev/null ; then \
${ECHO} "User 'netmon' exists." ; \
else \
- pw useradd -n netmon -g wheel -c 'Network monitor account' -m ; \
+ pw useradd -n netmon -g wheel -c 'Network monitor account' -s /usr/sbin/nologin ; \
fi
@if pw group show ${BINGRP} 2>/dev/null ; then \
${ECHO} "Group '${BINGRP}' exists." ; \
diff --git a/net-mgmt/netmond/pkg-install b/net-mgmt/netmond/pkg-install
index 4c1773744c6f..007ffc6401b0 100644
--- a/net-mgmt/netmond/pkg-install
+++ b/net-mgmt/netmond/pkg-install
@@ -8,7 +8,7 @@ case $2 in
if pw user show netmon 2>/dev/null ; then
echo "User 'netmon' exists." ;
else
- pw useradd -n netmon -g wheel -c 'Network monitor account' -m ;
+ pw useradd -n netmon -g wheel -c 'Network monitor account' -s /usr/sbin/nologin ;
fi
if pw group show netmon 2>/dev/null ; then
echo "Group 'netmon' exists." ;