Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Run Script in Linux Guest Problems

$
0
0

Hi,

 

I try to solve problem during Password Change by the "Run Script in Guest Module:

 

My Input:

scriptInput = "echo 'root:" + newPassword + "' | chpasswd"

 

I added some extra log for TroubleShooting:

[2015-08-04 17:29:16.828] [I] echo 'root:cuxGNP4$R0NjotWqq8z1Q' | chpasswd

[2015-08-04 17:29:17.114] [I] script: echo 'root:cuxGNP4$R0NjotWqq8z1Q' | chpasswd

[2015-08-04 17:29:17.114] [I] scriptArguments: -c "bash > /tmp/vmware-root/vco_vmware179 2>&1 -c \"echo 'root:cuxGNP4$R0NjotWqq8z1Q' | chpasswd\""

[2015-08-04 17:29:24.576] [I] Die Authentifizierung mit dem Gastbetriebssystem anhand der angegebenen Anmeldedaten ist fehlgeschlagen. (Workflow:Get processes from guest / Scriptable task (item1)#8)

 

-> Authetication failed after Pasword Change in Module "Get processes from guest"

 

This is because the new password is only: "cuxGNP4" and not "cuxGNP4$R0NjotWqq8z1Q".

 

when I execute "echo 'root:cuxGNP4$R0NjotWqq8z1Q' | chpasswd" in CLI the command works.

 

Any ideas whats wrong?


Viewing all articles
Browse latest Browse all 231085

Trending Articles


Practice Sheet of Right form of verbs for HSC Students


Sarah Samis, Emil Bove III


ZARIA CUMMINGS


Need radio code for IVECO Delphi Aptiv FJ5 RBT M16


Black Angus Grilled Artichokes


Ed Sheeran – Sapphire – Pre-Single [iTunes Plus M4A]


Sunny Garcia’s Ex-Wife Colleen McCullough


99 God Status for Whatsapp, Facebook


Funeral of Sir Warwick Franklin


MHDD



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>