Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Proftpd locking user

    hi, how can i disable a user from using his ftp account to cd above his home dir. I would like to limit a user from going to any level higher than his home dir. i am using proftpd 1.2.8 on Slackware 9.1

    thanks for ur help

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    From the proftpd website The directive you would want is DefaultRoot make it ~/

  3. #3
    That line should already be in the proftpd.conf...just have to uncomment it.
    If you love something, emerge it

  4. $spacer_open
  5. #4
    Linux Newbie
    Join Date
    Dec 2003
    This is what you need in your proftpd.conf

    Add the following line to it:

    # To cause every FTP user to be "jailed" (chrooted) into their home
    # directory, uncomment this line.
    DefaultRoot ~
    Computers Are Like Air Conditioners... They\'re both useless with Windows open!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts