Tiny Core Base > Corepure64

Couple of issues with Corepure64

<< < (2/2)

TomT:
Hi,
Sorry for not using code tags.

I've removed
--- Code: ---usr/local/etc/init.d, /opt and /home
--- End code ---
from /opt/.filetool.lst then saved my settings.
Following a reboot SSH is now working. Thanks

Any idea on the FTP server ?
On the 32bit build I'm using bftpd, which is working as I want.

All I need is to serve one folder including subfolders, with the user specifying a specific username and password to connect.
Ideally it should be read only, we no delete or rename option.

Thanks

Rich:
Hi TomT
Maybe  ftpd  from  inetutils-servers.tcz  would work for you?


--- Quote from: TomT on December 31, 2024, 12:12:37 PM --- ... Ideally it should be read only, we no delete or rename option.
--- End quote ---
Wouldn't that be controlled by file permissions and which user/group
the ftp server was running under?

So if the directory was 644 root:root then only root could modify its contents.
If the ftp server were run by  tc:staff , shouldn't it then appear to be read only?

CNK:

--- Quote from: TomT on December 31, 2024, 12:12:37 PM ---Any idea on the FTP server ?
On the 32bit build I'm using bftpd, which is working as I want.

All I need is to serve one folder including subfolders, with the user specifying a specific username and password to connect.
Ideally it should be read only, we no delete or rename option.

--- End quote ---

I haven't used bftpd, but I agree with Rich that ftpd in inetutils-servers.tcz sounds good for that. Note that it is installed to /usr/local/lib/inetutils/ftpd so you need to use that full path to run the server program. Use the "-D" option to run it directly, or it can be run by the inetd super-server with this line in /opt/inetd.conf, when that is started with "inetd /opt/inetd.conf":

--- Code: ---ftp stream tcp nowait root /usr/local/lib/inetutils/ftpd ftpd -l

--- End code ---

Rich:
Hi TomT
This documentation may be of some use:
https://www.gnu.org/software/inetutils/manual/inetutils.html#ftpd-invocation
https://www.gnu.org/software/inetutils/manual/html_node/Configuration-file.html

TomT:
Thanks for the replies.
Before I'd seen them I'd installed proftpd and seem to have got that working as I need.

Thanks

Navigation

[0] Message Index

[*] Previous page

Go to full version