From 72e94d128a662b7a391b7a90060b5aa07cdef173 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 26 Oct 2011 21:59:45 +0000 Subject: add easier bin/enable-encryption --- bin/enable-encryption | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/enable-encryption (limited to 'bin/enable-encryption') 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; -- cgit v1.2.1