2.0

Table Of Contents
VMware, Inc. 113
Chapter 6 Setting and Using Policies and Customizing VMware Player
my @grepNames = grep(/$username/, @white_list);
if (@grepNames == 1) {
print "TRUE";
exit(0);
}
print "FALSE";
exit(0);
Activation and Authentication for Managed Instances Without Active
Directory Service
IfyouareusingamanagedACEmasterwithaserverthatisnotintegratedwithActive
Directory,usethefollowinginformationtosetactivationandauthenticationpolicies.
Activation
TheactivationstepisperformedwheneveranACEpackageisinstalled.
Dynamicchangestotheactivationpolicy:
Tochangetheactivationsettingtype:Editthepolicyandpublishit.Thepolicy
takeseffectwhenanewinstancefromthispackageisinstalledandactivated.
Tochangetheactivationkey:Editthepolicyandpublishit.Thepolicytakeseffect
whenanewinstancefromthispackageisinstalledandactivated.Youcanalsoedit
animportedkeywordlistandpublishthechange.
UnderActivation,selectoneactivationtype:
NoneNopasswordorkeyisrequired;anyusercanactivatethisinstance.
PasswordTheusermustenterthepasswordspecifiedbyyoutoactivatethisACE
instance.Youmustprovidetheuserwiththepasswordthroughemailorother
means.
NOTEScriptscanbeinanylanguage.AscriptprovidesWorkstationACEEditionwith
acommandlineexecutableorascriptfile(forexample,.batonWindowsoperating
systems,perlorshonLinuxoperatingsystems)intheACEResourcedirectory.The
guidelinesascriptmustfollowdependonwhichpolicy
thescriptisimplementing.
Therearesomegeneralrules.Thescriptmustexitwitha0(zero)valuetobeconsidered
asuccess.Anyotheroutputresultsinfailure.Uponsuccess,thestdoutoutputofthe
scriptwillbeexamined.Foragivenpolicythisshouldbesomethingspecific(for
example,thepoweronscriptoutputshouldbeTRUEorFALSE),theauthentication
scriptoutputisusedasapassword,thehostguestdatascriptisastringinaparticular
format(forexample,“guestinfo.var1=”value1”\nguestinof.var2=”value2””).