diff options
Diffstat (limited to 'bin/draksambashare')
-rwxr-xr-x | bin/draksambashare | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/draksambashare b/bin/draksambashare index aef70e8..0c5f97d 100755 --- a/bin/draksambashare +++ b/bin/draksambashare @@ -37,7 +37,9 @@ use run_program; use Libconf::Templates; use Libconf::Glueconf::Samba::Smb_conf; -my $in = 'interactive'->vnew('su'); +require_root_capability(); + +my $in = 'interactive'->vnew; $in->do_pkgs->ensure_is_installed('samba-server', '/usr/sbin/smbd') or exit(1); #if (!-f "/etc/sysconfig/wizard_samba") { |