FTPCHROOT(5)
π FTPCHROOT(5) π
okay bestie, so this is a page from the Linux Programmer's Manual, and it's about ftpchroot β literally the file that lists users who need to be chrooted. it's giving "short but mighty" and honestly? iconic. π
πΈ NAME πΈ
ftpchroot β file which lists users who need to be chrooted
β¨ DESCRIPTION β¨
so ftpd(8) uses /etc/ftpchroot, and that file is just a list of users who need to be chrooted before the ftp service is offered to them. periodt. π
a couple things you gotta know so you don't get clowned:
- blank lines? ignored. no notes. π«Ά
- lines that start with
#? also ignored. those are your comment lines, queen. π
but here's the tea that will lowkey ruin your day: the whole line gets used as the username. so please, for the love of everything, do NOT put a#character after a name to try and comment out that entry β because that#and everything after it is just gonna get swallowed into the username and it will not work the way you think. π this is the trap. don't fall in it.
π EXAMPLES π
/etc/ftpchroot may contain the following entries:
#
# /etc/ftpusers
#
not_so_anonymous
look at that. clean. immaculate. no cap. β¨
π¦ FILES π¦
/etc/ftpchroot
π SEE ALSO π
go read those too bestie, iykyk. π
and that's a wrap on this one! this page came to you straight from the <strong>Linux</strong> crew, dated <strong>1999 April 1st</strong> β yes really, april fools day, but the chrooting is <em>very</em> real. mwah. π stay chrooted, stay slay. ππΈ
π¦ where this page comes from
- debian bookworm: ftpd-ssl 0.17.36+really0.17-2 Β· BSD-4-clause-UC
- ubuntu jammy: ftpd 0.17-36.2
- ubuntu jammy: ftpd-ssl 0.17.36+0.3-2.2build1
- ubuntu noble: ftpd-ssl 0.17.36+really0.17-2build2 Β· BSD-4-clause-UC
- ubuntu questing: ftpd-ssl 0.17.36+really0.17-3
- ubuntu resolute: ftpd-ssl 0.17.36+really0.17-5 Β· BSD-4-clause-UC
- ubuntu stonking: ftpd-ssl 0.17.36+really0.17-5build1 Β· BSD-4-clause-UC
- Copyright (c) 1999 Herbert Xu (herbert@gondor.apana.org.au)
- Copyright (c) 1994 Peter Tobias (tobias@server.et-inf.fho-emden.de)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms