Hello,
I think I locked myself out of OMV.
This happened (probably) after I changed file permission as part of an attempt to creat a user jail (as a reference, I went along the lines of this: Chroot Jail and this (not in English): Chroot Jail - Ubuntuusers.de)
It didn't happen immediately but only after I logged out and tried to log in again a few days later now.
Login usually happens via public key, not PW, although I still left this option active in the sshd_config (as a backup I thought and for other machines...).
Auth log shows this line:
Jun 23 13:12:42 OMV sshd[1460]: fatal: bad ownership or modes for chroot directory component "/"
Shell login attempt from the client returns:
Enter passphrase for key '/home/laptop/.ssh/id_ed25519':
debug1: Authentication succeeded (publickey).
Authenticated to 192.168.2.33 ([192.168.2.33]:123).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
packet_write_wait: Connection to 192.168.2.33 port 123: Broken pipe
Similarly I obviously cannot login from a client via Nemo or any GUI file managers.
I have a suspicion that I need to check and perhaps modify some permissions here but how can this be done w.o shell or file manager access with only the IMV GUI available?
Another suspicion I have is that I might need to modify the /etc/sshd_config but again, this needs some writable access.
Any suggestions would be much appreciated.