Browse files

SudoUsers.pm had some cut and paste cruft. removed.

  • Loading branch information...
1 parent 6a8fdb6 commit 5009cd3d0df8d9c10f2536d504053ba8e1295575 @jaybuff committed Mar 4, 2011
Showing with 1 addition and 10 deletions.
  1. +1 −10 lib/Joot/Plugin/SudoUsers.pm
View
11 lib/Joot/Plugin/SudoUsers.pm
@@ -1,13 +1,3 @@
-package Joot::Plugin::Users;
-
-use strict;
-use warnings;
-
-use Log::Log4perl qw(:easy);
-use Carp;
-
-# confirm the user has an account in the joot
-# if the user does not, create it
package Joot::Plugin::SudoUsers;
use strict;
@@ -25,6 +15,7 @@ sub post_create {
my $sudoers_file = $joot->mount_point() . "/etc/sudoers";
if ( !-e $sudoers_file ) {
# handle the case where sudo isn't installed in the root
+ WARN "No /etc/sudoers file inside the joot. Not giving user(s) sudo access (sudo isn't installed?)";
return;
}

0 comments on commit 5009cd3

Please sign in to comment.