diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-05-08 21:56:02 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-05-08 21:56:02 +0000 |
commit | 6f45f24b8fcee7ebb1b5ab521fbb7b109bcde43b (patch) | |
tree | 14122ebd70f3ddb2b496dad04ed4b1133b3e64ba /misc | |
parent | 1cf427c5286bef07e2b032eb90d8fabe5b0d2224 (diff) | |
download | pkgsrc-6f45f24b8fcee7ebb1b5ab521fbb7b109bcde43b.tar.gz |
use -l switch to chpass (eww, undocumented :-/), to work even when NIS is set up
Diffstat (limited to 'misc')
-rw-r--r-- | misc/amanda/scripts/createuser | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/amanda/scripts/createuser b/misc/amanda/scripts/createuser index ad1534346ae..760f2681e65 100644 --- a/misc/amanda/scripts/createuser +++ b/misc/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 { |