From d21b372b9fbba2546d8a1b586c51a5eb6818ac8a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 30 Nov 2017 15:12:04 -0800 Subject: [PATCH] sha512 crypt() export --- FS/FS/part_export/passwdfile.pm | 2 +- FS/FS/part_export/shellcommands.pm | 2 +- 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 b30713356..004c42133 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', -- 2.11.0