[pve-devel] r5642 - pve-manager/pve2/lib/PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Mar 3 09:48:13 CET 2011


Author: dietmar
Date: 2011-03-03 09:48:13 +0100 (Thu, 03 Mar 2011)
New Revision: 5642

Modified:
   pve-manager/pve2/lib/PVE/API2/Nodes.pm
Log:
s/root/root at pam/


Modified: pve-manager/pve2/lib/PVE/API2/Nodes.pm
===================================================================
--- pve-manager/pve2/lib/PVE/API2/Nodes.pm	2011-03-03 08:41:26 UTC (rev 5641)
+++ pve-manager/pve2/lib/PVE/API2/Nodes.pm	2011-03-03 08:48:13 UTC (rev 5642)
@@ -258,7 +258,7 @@
 	my $remcmd = $remip ? 
 	    ['/usr/bin/ssh', '-c', 'blowfish-cbc', '-t', $remip] : [];
 
-	my $shcmd = $user eq 'root' ? [ "/bin/bash", "-l" ] : [ "/bin/login" ];
+	my $shcmd = $user eq 'root at pam' ? [ "/bin/bash", "-l" ] : [ "/bin/login" ];
 
 	my $timeout = 10; 
 



More information about the pve-devel mailing list