Admin password

Home Page Forums Network Management ZeroShell Admin password

This topic contains 3 replies, has 0 voices, and was last updated by  Marcojani 9 years, 7 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #42252

    Marcojani
    Member

    Yes I know, stupid, but I changed the admin password and forgot it.

    Want to boot linux in single user mode but the break sequences known to me do not work? Any ideas?

    Thanks!

    #49801

    ppalias
    Member

    The password is written in the file

    /Database/var/register/system/ldap/rootpw

    Try to do the following, I am not sure if it will work but it’s worth the try since there is no other solution in the site or the forum.

    Boot another linux live CD.
    Create /Database directory
    Mount /dev/hda3 to /mnt (it should already exist)
    Mount /mnt/_DB.00x to /Database
    Now edit the file mentioned above, umount and reboot without the CD.
    Tell us if it works to include it in a tutorial.

    #49802

    Marcojani
    Member

    Yeah! 😀 I recovered the admin password! Below you can find how:

    In my situation I have a rackserver with 2 SATA disks (RAID 0). So I forgot the admin password after a change, well lets go recovering! In my case the Zeroshell filesystem and the config are on /dev/sda1

    1. I installed a basic release of Fedora while leaving the current Zeroshell filesystems intact.
    2. After installation I issued the “mount /dev/sda1 /mnt”
    3. In /mnt my “_DB.00x” directory appeared.
    4. Without any new mounts I could simply CD to /mnt/_DB.001/var/register/system/ldap en view the file rootpw.
    5. I did not need to edit the rootpw file since the password was visible unencrypted. (lucky for me)

    So I am back in business! Thanks ppalias for the tip!

    Cheers

    #49803

    ppalias
    Member

    OK basically it is as simple as booting a linux live cd, mount the active profile partition and finally viewing the

    ../var/register/system/ldap/rootpw

    file

    #49804

    Marcojani
    Member

    you make it sound sooo simple .. 😉

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.