aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netmond
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-09-11 07:10:00 +0800
committerpav <pav@FreeBSD.org>2005-09-11 07:10:00 +0800
commitf6c284c7ec9c09db89d29746ac6092ef77b170f1 (patch)
treeec72f96aea0b3e2effd0dce5dfd0b0053093b13c /net-mgmt/netmond
parentab2bf5c7f5dfabda5c87614474c611164885b0b2 (diff)
downloadfreebsd-ports-gnome-f6c284c7ec9c09db89d29746ac6092ef77b170f1.tar.gz
freebsd-ports-gnome-f6c284c7ec9c09db89d29746ac6092ef77b170f1.tar.zst
freebsd-ports-gnome-f6c284c7ec9c09db89d29746ac6092ef77b170f1.zip
- Fix plist
PR: ports/85219 Submitted by: Viktor Fomichev <vfom@narod.ru> (maintainer)
Diffstat (limited to 'net-mgmt/netmond')
-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." ;