aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/smokeping/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/smokeping/pkg-install')
-rw-r--r--net-mgmt/smokeping/pkg-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/smokeping/pkg-install b/net-mgmt/smokeping/pkg-install
index 593c79f0135e..9068c833eab0 100644
--- a/net-mgmt/smokeping/pkg-install
+++ b/net-mgmt/smokeping/pkg-install
@@ -16,7 +16,8 @@ PRE-INSTALL)
if ! pw usershow %%USER%% 2>/dev/null 1>&2; then
if pw useradd %%USER%% -u %%UID%% -g %%GROUP%% -h - \
- -s /nonexistent -c "SmokePing Daemon"; \
+ -s "/sbin/nologin" -d "/nonexistent" \
+ -c "SmokePing Daemon"; \
then
echo 'Added user "%%USER%%".'
else