|
|
@ -2,9 +2,11 @@ |
|
|
|
use strict; |
|
|
|
use strict; |
|
|
|
use esmith::AccountsDB; |
|
|
|
use esmith::AccountsDB; |
|
|
|
use esmith::ConfigDB; |
|
|
|
use esmith::ConfigDB; |
|
|
|
|
|
|
|
use POSIX qw(strftime); |
|
|
|
|
|
|
|
|
|
|
|
my $a = esmith::AccountsDB->open_ro() || die "Couldn't open the accounts database"; |
|
|
|
my $a = esmith::AccountsDB->open_ro() || die "Couldn't open the accounts database"; |
|
|
|
my $c = esmith::ConfigDB->open_ro() || die "Couldn't open the configuration database"; |
|
|
|
my $c = esmith::ConfigDB->open_ro() || die "Couldn't open the configuration database"; |
|
|
|
|
|
|
|
my $date = strftime "%d/%m/%Y %H:%M", localtime; |
|
|
|
|
|
|
|
|
|
|
|
sub uniq { |
|
|
|
sub uniq { |
|
|
|
my %seen; |
|
|
|
my %seen; |
|
|
@ -14,7 +16,7 @@ sub uniq { |
|
|
|
|
|
|
|
|
|
|
|
print "====== Audit des permissions ======\n\n"; |
|
|
|
print "====== Audit des permissions ======\n\n"; |
|
|
|
|
|
|
|
|
|
|
|
print "===== État des permissions au JJ/MM/AAAA HH:MM =====\n\n"; |
|
|
|
print "===== État des permissions au $date =====\n\n"; |
|
|
|
|
|
|
|
|
|
|
|
print "<note>Les comptes verrouillés ont été mis en évidence **<color #c3c3c3>en gris</color>**.</note>\n\n"; |
|
|
|
print "<note>Les comptes verrouillés ont été mis en évidence **<color #c3c3c3>en gris</color>**.</note>\n\n"; |
|
|
|
|
|
|
|
|
|
|
|