ܼ

vCSA

vCSA6.7

rootѥɤΥꥻåˡ

  • 1. ESXivCSAΥ󥽡򳫤Ƶư¹Ԥ
  • 2. Photon OSΥɽ줿eפ򲡲
  • 3. consoleblank=0θ˰ʲΥѥ᡼ɲä
    rw init=/bin/bash
  • 4. [F10]򲡲ơư
  • 5. bashư顢ʲޥǥѥɤѹ
    # passwd
  • 6. ʲޥǺƵưԤ
    # umount /
    # reboot -f

桼κ

  • 1. vCSAssh³Ԥ
  • 2. ʲޥ¹Ԥbashڤؤʤ
    Command>
    Command> com.vmware.appliance.version1.localaccounts.user.add --role ڸ¡ --username USERNAME --password
    Enter password:
    Reenter password:
  • ¤μ
    operatorڥ졼 桼 ĥ 桼ϡץ饤󥹹ɤ߼뤳ȤǤޤ
    adminԥ桼 ĥ 桼ϡץ饤󥹤Ǥޤ
    superAdminѡԥ桼 ĥ 桼ϡץ饤󥹤ꡢ ȤꡢBash ѤǤޤ

vCSA 6.0

rootѥɤΥꥻåˡ

vCSArootѥɤʬʤʤäнˡ

ʲμǥѥɤꤹ뤳ȤǤ롣

  • 1. vCSAư֡ȥβ̤ǽߤ
  • 2. ֡ȥ̤ǡpפ򲡲
  • 3. ֡ȥΥѥɤϤʽ͡vmware
  • 4. kernelԤ˥򤢤碌eפ򲡲
  • 5. ˰ʲɵ
    init=/bin/bash
  • 6. vCSA֡Ȥ
  • 7. 뤬ưʳǵưߤޤ뤿ᡢʲޥǥѥɤꤹ
    # passwd root
  • 8. vCSAƵư

ͻ

vCenter Server Appliance 5.5 root account locked out after password expiration (2069041)

vSphere Web Client ΥॢȻ֤򿭤Ф

vSphere Web ClientϽ֤Ǥ120ʬǥॢȤ롣
򿭤Фˤϰʲμꤹ롣

  • 1. vCSA˥󤹤
  • 2. ʲΥѥ˰ư
    /var/lib/vmware/vsphere-client
  • 3. ʲΥե򳫤
    webclient.properties
  • 4. ʲιܤͤѹʬñ̡
    ѹ#session.timeout = 120
    ѹsession.timeout = [ॢʬ]
  • 5. Web ClientӥƵư
    # /etc/init.d/vsphere-client restart
    
    Stopping VMware vSphere Web Client...
    Stopped VMware vSphere Web Client.
    Starting VMware vSphere Web Client...
    Intializing registration provider...
    Getting SSL certificates for https://192.168.1.230:7444/lookupservice/sdk
    Service with name 'vsphere-client-vcenter-69f41541-ab78-46ab-849d-63b5956f0569' and ID 'local:6539c8c8-bd6c-4122-9f67-6fedbfc75f79' was updated.
    Return code is: Success
    Waiting for VMware vSphere Web Client......
    running: PID:10998

桼κˡ

vSphere 5.xʹߡǧڤSSO濴ȤȤߤѤ줿ᡢvSphere Client桼뵡ǽʤʤäƤ롣
SSOѤʤĶˤơVSPHERE.LOCALפ⤷ϡLOCALOSץɥᥤΥ桼ɲäˤϡvCSAΥ桼ưǺ뤳ȤȤʤ롣

  • 1.
    vSphere ClientvCSAΥ󥽡򳫤root¤ǥ󤹤롣
  • 2. 桼Ͽ
    ʲޥˤƥ桼Ͽ롣users롼פΥ桼

    # useradd -g users [USER NAME]
  • 3. ǧ
    ʲޥˤϿ̤ǧ롣

    # tail /etc/passwd
  • 4. ѥ
    ʲޥˤƥѥɤꤹ롣
    ѥɤʣ׷OSͤ˽򤹤뤿ᡢvSphere̤ˤ

    # passwd [USER NAME]
    <ѥɤ>
  • 5. ¤Ϳ
    vSphere Client[]֤ꡢ桼ؤθ¤Ϳ롣

Web Clientˤ桼μư

vSphere Web ClientΥ̤ˤơ桼̾ưŪϤˡ

  • 1. vCentershell˥
  • 2. ʲΥѥ˰ư
    /usr/lib/vmware-sso/vmware-sts/webapps/websso/WEB-INF/views
  • 3. եХåå
    cp unpentry.jsp unpentry.jsp.ORG 
  • 4.եԽ
    vi unpentry.jsp

    ѹ<input id="username" class="margeTextInput" type="text"/>
    ѹ<input id="username" class="margeTextInput" type="text" value="administrator@vsphere.local" />

vCenter Server Aplliance 6 Ǽͳ(2) vShere Web ClientǼư


ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2020-07-24 () 12:52:02 (17d)