summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-11-30 15:12:04 -0800
committerIvan Kohler <ivan@freeside.biz>2017-11-30 15:12:04 -0800
commitd21b372b9fbba2546d8a1b586c51a5eb6818ac8a (patch)
treeb316a39d636acfb70b4993b1be981b2d40060d5c
parent197f613bac6c3f9a4bd7d1ea5fbf4769aea4ce1a (diff)
sha512 crypt() export
-rw-r--r--FS/FS/part_export/passwdfile.pm2
-rw-r--r--FS/FS/part_export/shellcommands.pm2
-rw-r--r--FS/FS/part_export/shellcommands_withdomain.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/part_export/passwdfile.pm b/FS/FS/part_export/passwdfile.pm
index 6713c8d..0ee7212 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 7c280e5..09fa71b 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 b307133..004c421 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',