diff options
-rw-r--r-- | databases/postgresql/scripts/createuser | 2 | ||||
-rw-r--r-- | misc/amanda/scripts/createuser | 2 | ||||
-rw-r--r-- | sysutils/amanda/scripts/createuser | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql/scripts/createuser b/databases/postgresql/scripts/createuser index b2ca30c3b4d..b9e7564ab1b 100644 --- a/databases/postgresql/scripts/createuser +++ b/databases/postgresql/scripts/createuser @@ -39,7 +39,7 @@ print "pgsql user $pgsql using uid $pgUID\n"; print "pgsql user $pgsql using gid $pgGID\n"; if ($addname) { - system( "/usr/bin/chpass -a \"$pgsql:*************:${pgUID}:${pgGID}::0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/$pgsql:/bin/sh\"" ); + system( "/usr/bin/chpass -l -a \"$pgsql:*************:${pgUID}:${pgGID}::0:0:PostgreSQL pseudo-user:$ENV{'PREFIX'}/$pgsql:/bin/sh\"" ); } sub append_file { 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 { 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 { |