Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-25-2003, 10:48 PM   #1
Registered: Jan 2003
Posts: 77

Rep: Reputation: 15
Smile Proftpd problem

I am using RH9.0 and proftpd. I have created some users
and i want these users must change the root to
when they use ftp login they must go to this folder
and can't go to chroot.
How to set it
Old 08-25-2003, 11:15 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
Not sure what you mean by "they can't go to chroot" but why not just make it so their actual home directory is /home/user/public_html

Then chroot them to that directory so they can't browse to any other directory.

You could also give them a false shell, so they don't have shell access to login in any other means, except for FTP.

Edit /etc/shells, add /bin/false to it and then make their default shell /bin/false.
Old 08-26-2003, 10:08 PM   #3
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55

DefaultRoot ~/public_html

to your proftpd.conf.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd problem saudoi Solaris / OpenSolaris 24 11-08-2005 02:18 AM
proftpd problem mouse46 Linux - Software 10 10-06-2004 12:37 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
Proftpd problem dsgdevil Linux - Software 2 05-24-2004 09:32 PM
proftpd problem thesnaggle Linux - Software 1 10-27-2003 11:20 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration