Lost Access to Admin WebUI Login

  • After I created some new users, I can no longer log in to the WebUI using the "admin" credentials. When I try to reset the password using "omv-firstaid" I get the following error


    Code
    ERROR: Failed to connect /var/lib/openmediavault/engined.sock: [Errno 13] Permission denied

    I can still access my other users but not the admin.


    I tried to check the boot disk space and I seem to have plenty of room:


    Any help is appreciated. I am a first time user with no Linux experience. Thank you.

  • I am a first time user with no Linux experience.


    I actually found the solution by gaining superuser access in SSH via sudo su, then set the admin password using passwd.

    Looks like you are making progress :thumbup:


    sudo omv-firstaid might have done the trick as well.

  • Looks like you are making progress :thumbup:

    Thank you for the kind words ;)

    Quote

    sudo omv-firstaid might have done the trick as well.

    I tried that first thing but got the error I quoted saying access denied. I think somehow while setting up the users, I deleted the admin account by accident. I think my complete solution after gaining superuser privilege in SSH is this:


    Quote

    sudo su

    usermod -a -G openmediavault-admin admin

    passwd admin

    The first line of code gets me access to the omv as a superuser? Then, I think the second line of code readded the admin account in the CLI. After that, I think omv-firstaid would have worked.


    Is there some resources on how the users are set up in omv so I can read on it more to avoid deleting the admin account by accident? I honestly did not know what the pi user is for under Access Rights Management.

  • In OMV there is only


    • admin: the standard user for the GUI with full access
    • root: system user with super power that can be used on the CLI
    • users created in the GUI of OMV: used for SMB and other services; if they are members of the ssh group they can ssh into the server; if they are members of the sudo group they can gain super power with sudo

    If you are new to OMV I suggest you read the new user guide which is linked in my signature. It has a lot of useful information.


    The pi user is a user created by the Rspberry OS. For OMV he does not have a special role. However, he is member of the sudo group and has a default password. So it is very much advisable to change the password. That is also mentioned in the new user guide.

    And here

    https://www.raspberrypi.org/do…tion/linux/usage/users.md

  • With OMV 5.5.5, you can add any user to the openmediavault-admin group and they will have full admin privileges in the web interface.

    I was yutzing around with user/group management and noticed that yesterday. I didn't think I'd ever seen that group before. Is openmediavault-config new as well (don't recall that one either)?


    Any particular reason for the change.

  • openmediavault-config has been around for a while (since 4.x days). The admin change was made since people were complaining for numerous reason that admin was the only admin user.

    omv 5.5.11 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • openmediavault-config has been around for a while (since 4.x days). The admin change was made since people were complaining for numerous reason that admin was the only admin user.

    So basically to appease the masses who wanted something to complain about... :). Makes perfect sense (personally I never understood why people got so bent out of shape on users not using the webUI)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!