Ok, i see where i went wrong.
Now I did:
sudo usermod -g root root
would make root back into…
I entered sudo usermod -g www-data ftpuser
How do I return it to the default values?
Is it owned by root? If so it would be:
sudo usermod -g www-data root?
How do i check the ownership of www-data?
Groups don't have owners.
Your first command, sudo usermod -g www-data ftpuser made ftpuser's default group into www-data. If you ran sudo usermod -g www-data root, you would, in kind, make the root user's group be ww...
I wanted a secure way to manage the /var/www/ folder. My regular user can't upload to the /var/www/ folder without using root user account via Filezilla. I normally log in using an ssh key which works fine.
I then fol...
Finally go it working. In HeidiSQL session manager:
Under Settings Tab
Network Type: MariaDB or MYSQL (SSH TUNNEL)
I have Ubuntu 18.04 which is connected through putty using a private key and running fresh install of MariaDB 10.1 and done the mysql secure installation.
I have HeidiSQL installed on my windows PC which I want to co...