[pve-devel] r5584 - pve-access-control/trunk/PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Feb 22 11:40:08 CET 2011


Author: dietmar
Date: 2011-02-22 11:40:08 +0100 (Tue, 22 Feb 2011)
New Revision: 5584

Modified:
   pve-access-control/trunk/PVE/AccessControl.pm
Log:
 fix root user name


Modified: pve-access-control/trunk/PVE/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/AccessControl.pm	2011-02-22 10:32:44 UTC (rev 5583)
+++ pve-access-control/trunk/PVE/AccessControl.pm	2011-02-22 10:40:08 UTC (rev 5584)
@@ -299,7 +299,7 @@
     return 1 if $usercfg && $usercfg->{users}->{$username} &&
 	$usercfg->{users}->{$username}->{enabled};
 
-    return 1 if $username eq 'root'; # root is always enabled
+    return 1 if $username eq 'root at pam'; # root is always enabled
 
     return 0;
 }




More information about the pve-devel mailing list