diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-11-30 15:12:04 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2020-10-16 12:18:33 -0700 |
commit | d6c9e395caaf5a4547d7d480a15d264a57973914 (patch) | |
tree | 7b3afeb98402ef5e7c6db60ec8e36e392fea8e2a | |
parent | 6857f437a10644e977ebe4157402ab9182af16b1 (diff) |
sha512 crypt() export
-rw-r--r-- | FS/FS/part_export/passwdfile.pm | 2 | ||||
-rw-r--r-- | FS/FS/part_export/shellcommands.pm | 2 | ||||
-rw-r--r-- | FS/FS/part_export/shellcommands_withdomain.pm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/part_export/passwdfile.pm b/FS/FS/part_export/passwdfile.pm index 6713c8d82..0ee721214 100644 --- a/FS/FS/part_export/passwdfile.pm +++ b/FS/FS/part_export/passwdfile.pm @@ -10,7 +10,7 @@ use FS::part_export::null; tie %options, 'Tie::IxHash', 'crypt' => { label=>'Password encryption', type=>'select', options=>[qw(crypt md5 sha512)], - default=>'md5', + default=>'sha512', }, ; diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index 7c280e5f8..09fa71b94 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -98,7 +98,7 @@ tie my %options, 'Tie::IxHash', 'crypt' => { label => 'Default password encryption', type=>'select', options=>[qw(crypt md5 sha512)], - default => 'md5', + default => 'sha512', }, 'groups_susp_reason' => { label => 'Radius group mapping to reason (via template user)', diff --git a/FS/FS/part_export/shellcommands_withdomain.pm b/FS/FS/part_export/shellcommands_withdomain.pm index 2e12a39c1..1f6fac38b 100644 --- a/FS/FS/part_export/shellcommands_withdomain.pm +++ b/FS/FS/part_export/shellcommands_withdomain.pm @@ -64,7 +64,7 @@ tie my %options, 'Tie::IxHash', }, 'crypt' => { label => 'Default password encryption', type=>'select', options=>[qw(crypt md5 sha512)], - default => 'md5', + default => 'sha512', }, 'fail_on_output' => { label => 'Treat any output from the command as an error', |