summaryrefslogtreecommitdiff
path: root/sysutils/amanda
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-05-08 21:56:02 +0000
committerhubertf <hubertf>1998-05-08 21:56:02 +0000
commita97a0599a75098bdd74ad8979b1e640039698a66 (patch)
tree14122ebd70f3ddb2b496dad04ed4b1133b3e64ba /sysutils/amanda
parentb18d3a63b7f643102147031798b6328720dcf68f (diff)
downloadpkgsrc-a97a0599a75098bdd74ad8979b1e640039698a66.tar.gz
use -l switch to chpass (eww, undocumented :-/), to work even when NIS is set up
Diffstat (limited to 'sysutils/amanda')
-rw-r--r--sysutils/amanda/scripts/createuser2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/amanda/scripts/createuser b/sysutils/amanda/scripts/createuser
index ad1534346ae..760f2681e65 100644
--- a/sysutils/amanda/scripts/createuser
+++ b/sysutils/amanda/scripts/createuser
@@ -39,7 +39,7 @@ print "Amanda user $backup using uid $newUID\n";
print "Amanda user $backup using gid $newGID\n";
if ($addname) {
- system( "/usr/bin/chpass -a \"$backup:*************:${newUID}:${newGID}::0:0:Amanda backup user:$ENV{'PREFIX'}/$backup:/bin/sh\"" );
+ system( "/usr/bin/chpass -l -a \"$backup:*************:${newUID}:${newGID}::0:0:Amanda backup user:$ENV{'PREFIX'}/$backup:/bin/sh\"" );
}
sub append_file {