FTPCHROOT(5)

πŸ“¦
version 0.17.36+0.3 Β· 2 versions
  • 0.17.36+0.3 Β· debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 14.5 Β· freebsd 14.5
, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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