You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print "option\tOption(s) that should be added/changed (i. e.: +allow_forwardable\n\tor -maxrenewlife 7days) or deleted (-allow_renewable).\n\tOptions re also possible as: \"+allow_forwardable -allow_renewable\"\n\n";
exit 1;
}
my $command = "listprincs *";
my $query = "modprinc $option";
my $comstr = `/usr/bin/kadmin -q '$command'`;
my @array = split /\n+/, $comstr;
foreach my $zeile ( @array ) {
print "Changing option(s) for principal " . $zeile . "\n";
my $modprinc = `/usr/bin/kadmin -q '$query $zeile'`;
}
print "To test the actual flags use klist -f (as the requested user).\n";