Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Manuel d'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 38
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
Getting Started with vSphere Command-Line Interfaces
24 VMware, Inc.
Followoneofthefollowingapproachesforprotectingpasswords.
IfyouuseavCLIcommandinteractivelyanddonotspecifyausernameandpassword,youareprompted
forthem.Thescreendoesnotechothepasswordyoutype.
Fornoninteractiveuse,youcancreateasessionfileusingthesave_sessionscriptincludedinthe
apps/sessiondirectory.See“UsingaSessionFile”onpage 24.
IfyouarerunningonaWindowssystem,youcanusethe--passthroughauthoption.Iftheuserwho
runsthecommandwiththatoptionisknown,nopasswordisrequired.
IfyouarerunningvMA,youcansetuptargetserversandrunmostvCLIcommandsagainsttargetservers
withoutadditional
authentication.SeethevSphereManagementAssistantGuide.
Specifying Authentication Information
vCLIallowsyoutorunagainstmultipletargetserversfromthesameadministrationserver.Youmusthave
thecorrectprivilegestoperformtheactionsoneachtarget.
Order of Precedence for vCLI Authentication
WhenyourunavCLIcommand,authenticationhappensintheorderofprecedenceshowninTable 31.This
orderofprecedencealwaysapplies.Thatmeans,forexample,thatyoucannotoverrideanenvironment
variablesettinginaconfigurationfile.
Using a Session File
Youcancreateasessionfilewiththesave_sessionscript.Thescriptisinthe/apps/sessiondirectoryof
thevSphereSDKforPerl,whichisincludedinthevCLIpackage.Youcanusethesessionfile,whichdoesnot
revealpasswordinformation,whenyourunvCLIcommands.Ifthesessionfile
isnotusedfor30 minutes,it
expires.
Ifyouuseasessionfile,otherconnectionoptionsareignored.
I
MPORTANTvCLI4.1andlaterallowsadministratorstoplaceESXihostsinlockdownmodeforenhanced
security.OnlyavCLIcommandoravSphereClientconnectedtoavCenterServersystemcanmakechanges
toESXihostsinlockdownmode.Nousers,noteventherootuser,canrunvCLIcommands
againstESXihosts
inlockdownmode.See“vCLIandLockdownMode”onpage 27andtheDatacenterAdministrationGuide.
Table 3-1. vCLI Authentication Precedence
Authentication Description See
Commandline Password(--password),sessionfile
(--sessionfile),orconfigurationfile
(--config)specifiedonthecommandline.
“UsingaSessionFile”onpage 24
Environment
variable
Passwordspecifiedinanenvironmentvariable. “UsingEnvironmentVariablesonpage 25
Configurationfile Passwordspecifiedinaconfigurationfile. “UsingaConfigurationFile”onpage 25
Currentaccount
(ActiveDirectory)
Currentaccountinformationusedtoestablish
anSSPIconnection.AvailableonlyonWindows.
“UsingMicrosoftWindowsSecuritySupport
ProviderInterface”onpage 27
Credentialstore Passwordretrievedfromthecredentialstore. vSphereWebServicesSDKProgrammingGuide
andvSphereSDKforPerlProgrammingGuide.
Prompttheuserfor
apassword.
Passwordis
notechoedtoscreen.
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 37 38

Commentaires sur ces manuels

Pas de commentaire