Beiträge von baal77

    Hello all,


    I had the same experience, and like EagleBird (http://forums.openmediavault.org/viewtopic.php?p=6877#p6877) my problems have started when I make a mistake by logging with "root" in GUI instead of "admin".
    The menu was very small, and like him, I thought that I had to change my password.


    Since this moment, impossible to login via SSH.
    The only way to take control back, has been to add "AllowGroups root ssh users" in the Services -> SSH -> Extra Options text_box.


    Now, when I'm logged in, I have that :

    Code
    root@openmediavault:~# groups root
    root : users


    The following command adds the user "root" to the group "root" and solve the problem (you can delete the line in the extra options text box) :

    Code
    root@openmediavault:~# usermod -G root root


    ... but, it only adds the user "root" in the "root" group, and also lets it in the "users" group.

    Code
    root@openmediavault:~# groups root
    root : users root


    The thing we have to do is to set the primary group for the user group :

    Code
    root@openmediavault:~# usermod -g root root


    And now ... all is OK :

    Code
    root@openmediavault:~# groups root
    root : root


    So, I suppose there is a bug in the change password's function from the GUI for the user root, which modify its primary group. :-/
    I don't know if its now fixed, but in case of ... you have the solution. ;)


    Fred.