Skyline

 View Only
  • 1.  Unlock Root account?

    Posted Aug 13, 2018 03:06 PM

    I am trying to log into my skyline collector, but the root account is locked due to failed login attempts, how do you go about unlocking the account? 



  • 2.  RE: Unlock Root account?
    Best Answer

    Posted Aug 13, 2018 06:15 PM

    Hi,

    To reset the root password, please follow

    https://github.com/vmware/photon/blob/master/docs/photon-os-troubleshooting-guide.md#resetting-a-lost-root-password

    Regards,

    Yuvaraj

    Skyline Support Moderator.



  • 3.  RE: Unlock Root account?

    Posted Dec 20, 2018 03:59 PM

    Link doesn't work.



  • 4.  RE: Unlock Root account?

    Posted Dec 20, 2018 04:04 PM

    Hi Royd,

    Thanks for the response.Please find the below steps

    To reset the root password:

    1. Restart the Skyline appliance.
    2. From the Console screen of the appliance when you see the PhotonOS splash screen press "e".
    3. At the end of the PhotonOS boot command add "rw init=/bin/bash' "
    4. Press F10 to access to the command prompt
    5. Type "passwd" to set the root password
    6. Type "reboot -f" to reboot the appliance

    Regards,

    Yuvaraj

    Skyline Support Moderator

    https://kb.vmware.com/s/article/52652



  • 5.  RE: Unlock Root account?

    Posted Feb 26, 2019 02:57 PM

    The line  "rw init=/bin/bash' "

    should be  "rw init='/bin/bash' "

    One missing quote would cause syntax error



  • 6.  RE: Unlock Root account?

    Posted May 16, 2019 09:43 PM

    I have locked out my root account "Account locked due to X failed logins"

    I have used the information in KB52652 to reset the root password but it didn't unlock the account. Is there something else you need to do after resetting the password in order to unlock it?

    VMware Knowledge Base



  • 7.  RE: Unlock Root account?

    Posted May 16, 2019 10:18 PM

    Hello,

    The KB has the steps to reset the password, if the account is locked you will need to clear the lock after resetting the password.

    Please run the following command after resetting the password on the shell:

    /sbin/pam_tally2 -r -u root



  • 8.  RE: Unlock Root account?

    Posted Jul 23, 2023 08:44 AM

    You can unlock it through the Root Master app...