diff options
Diffstat (limited to 'bin/enable-encryption')
-rwxr-xr-x | bin/enable-encryption | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/enable-encryption b/bin/enable-encryption new file mode 100755 index 000000000..db264ea86 --- /dev/null +++ b/bin/enable-encryption @@ -0,0 +1,10 @@ +#!/usr/bin/perl + +use FS::UID qw(adminsuidsetup); +use FS::Setup qw(enable_encryption); + +my $user = shift or die "Usage: enable-encryption user\n"; + +adminsuidsetup $user; + +enable_encryption; |