commit - 74e4a617104be9cb79b28ece095bef3dcafa6860
commit + 1caa333f0c25a94609aa1c9cfc496b95b094c30f
blob - c4ff5a45ff7800444594b1b5dd671ed808b55efe
blob + 67385c94fc891c2e0724e49bddb4106c4a5d9604
--- Shell.pm
+++ Shell.pm
sub deleteshell {
my ($username, $bindhost) = @_;
my $lusername = lc $username;
+ system "doas chown root:wheel $httpdconfpath $pfconfpath";
+ system "doas chmod g+rw $httpdconfpath $pfconfpath";
system "doas groupdel $username";
system "doas userdel $username";
system "doas rm -f /etc/ssl/$lusername.$hostname.crt /etc/ssl/$lusername.$hostname.fullchain.pem /etc/ssl/private/$lusername.$hostname.key";