Red Hat LINUX VIRTUAL SERVER 5.1 - ADMINISTRATION Manual de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 38
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 37 38

Comentarios a estos manuales

Sin comentarios