Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

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 6251

Trending Articles



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