aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios/scripts/createuser
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/nagios/scripts/createuser')
-rw-r--r--net-mgmt/nagios/scripts/createuser2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/nagios/scripts/createuser b/net-mgmt/nagios/scripts/createuser
index 7733a9cc4323..0ebde3c5496d 100644
--- a/net-mgmt/nagios/scripts/createuser
+++ b/net-mgmt/nagios/scripts/createuser
@@ -31,7 +31,7 @@ if( getgrnam( "netsaint" ) ) {
print "netsaint user using uid $nsUID and gid $nsGID\n";
-system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:$ENV{'PREFIX'}/netsaint:/sbin/nologin\"" );
+system( "/usr/bin/chpass -a \"netsaint:*:$nsUID:$nsGID\:\:0:0:Netsaint pseudo-user:/var/netsaint:/sbin/nologin\"" );
sub append_file {
local($file,@list) = @_;