it uses ftpd iirc.
I've turned my knoppix box, running from CD, into an ftp-server. I use the commandto start it.Code:/etc/init.d/inetd
To configure it right I need to know which deamon is started.
I know it's not proftp.
Does anyone know which one knoppix uses?
I need to know this, so I can find out how to restart it after reconfiguration.
Thanks.
it uses ftpd iirc.
Thanks. Now I know which man-pages I should look at.
Tigren,
Are you sure? I can not find any howto's or man-pages on that.
works for me:
ftpd - Internet File Transfer Protocol server
.
How do you restart the ftp deamon?
--Why do you not want to use inetd for this? What are you trying to accomplish, in other words...
--I normally use xinetd myself, but on debian it's kind of a pain. Right now I've got proftpd running standalone, outside of inetd.
Originally Posted by Hermanh
I use inetd. I try to get security arranged. I know some people who know a lot about Linux. They all say that I should restart the deamon and not inetd to get chroot working.
I (maybe just a little bit simple) thougth I just stop inetd and restart it. But those people say: No you should restart the deamon, not inetd, which is just the Superserver. They do not know which deamon it is, and I do not know which deamon it is. So how can I restart it.
I just want to change the root of the remote user to /mnt/hda1/ftp. So he can not see the whole distro.
(Next step will be tunneling trhough SSH).
sorry, I'm not a big fan of initd. I do understand the point behind it, for example minimize resources but for the purpose of this it's best to start FTP as a dedicated service...
here's an alternative to INITD which starts ftp daemon as a standalone dedicated service.
# -D = Detach and become deamon
# -h = Passive mode
/usr/sbin/in.ftpd -Dh
The ftp accounts are controled via passwd (standard Unix authentication) ...
/usr/sbin/adduser ftpuser
# or whatever it is
I believe when logging into FTP you will default into your Home directory.
From there you can simply create soft links to other directories.
ln -s /mnt/hda1 /ramdisk/home/ftpuser/hda1
SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD
$19.99
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
WD 4TB Gold Enterprise - 7200 RPM SATA 6Gb/s 128MB CACHE 3.5" HDD - WD4002FYYZ
$42.95
Hitachi 4TB 3.5" Hard Drive HUS724040ALE640 Ultrastar 7K4000 Internal 7.2K
$49.95
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$18.99
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.24
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
Western Digital DC HC320 Ultrastar 8TB 7200RPM SATA HD, HUS728T8TALE6L4, 0B36404
$99.00