Dne středa 14. září 2016 18:17:38 CEST, Mikhail Ramendik napsal(a):
I am running Leap and need to set up an FTP server for the home network. Nothing fancy, a fixed username/password giving read/write access to a directory. Using my own main user sounds a bit insecure, though?
It depends... Is the computer Your main working station? Is it behind reliable firewall? Can You trust Your users?
And I failed to find this simple setup in yast or in a quick google. Everything revolves around letting existing users log on thru FTP or not, and even that is not entirely clear (can my main user log on thru vsftpd by default? what do I do to enable/disable it?)
I don't know defaults, but in vsftpd.conf You can set particual group/users to (dis)allow to log in.
I would appreciate advice on how to make this work in the simplest way possible.
Did You check https://doc.opensuse.org/documentation/leap/reference/html/ book.opensuse.reference/cha.ftp.html and https://www.unixmen.com/how-to-setup-ftp-server-on-opensuse-42-1/ ? It was enough for me for similar task.
Bonus points for being able to share the same directory with the same credentials using samba.
HTH -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/ https://trapa.cz/