From: Dietmar Maurer Date: Wed, 18 Jan 2012 08:10:49 +0000 (+0100) Subject: allow to safe attribute for root@pam X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=9238b8a49c0c883fee2458fd0ef4e8c34614ea25;ds=inline allow to safe attribute for root@pam We will use the email address to forward notification (and root mails). --- diff --git a/PVE/AccessControl.pm b/PVE/AccessControl.pm index 6c04b47..9396537 100644 --- a/PVE/AccessControl.pm +++ b/PVE/AccessControl.pm @@ -1040,8 +1040,6 @@ sub write_user_config { my $data = ''; foreach my $user (keys %{$cfg->{users}}) { - next if $user eq 'root@pam'; - my $d = $cfg->{users}->{$user}; my $firstname = $d->{firstname} ? PVE::Tools::encode_text($d->{firstname}) : ''; my $lastname = $d->{lastname} ? PVE::Tools::encode_text($d->{lastname}) : '';