Linux - SoftwareThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there, I'm using Ubuntu 5.10 and want to add users to proftpd, so that they can login and have access to only their own directory. since the web root is /var/www, then i guess each user should have a folder like ~username, and could access that dir from the web root.
problem is that i dont know how to add users to the ftp server. any help?
okay, well i managed to add the users and can ssh to my server with them, but they cant ftp. and the DefaultRoot thing didn't work. what i'm trying to do is give them access so when they log in via ftp, the root directory that they get put into is their own web root, and i want it to be accessable at http://myserver.com/~username
When they FTP in, they'll be in their 'home' directory. In that directory you can create a folder called public_html, in which they can create files that Apache serves up like you noted http://blah.com/~cooldude
There are some troubleshooting steps you can take, probably the best I can think of is to check the log and see why they are failing.
If they can ssh in, I'm assuming they do indeed have a home directory, so that's probably not the problem. It may be your authentication system isn't working properly, which might be noted when the failed attempt is logged.
alright. well i made the public_html folder and that works just dandy. (i didn't know apache automatically served that, good thing to know). but the ftp login still doent work.
i opened up my /var/log/auth.log to check stuff out and found that a korean high school's ip address is trying to brute force my server. :\ hm. i'll deal with that later
anyway, this is what i get in the log from proftpd when trying to login
May 30 03:25:59 localhost proftpd: (pam_unix) session opened for user matt by (uid=0)
May 30 03:25:59 localhost proftpd[15913]: localhost.localdomain (192.168.1.100[192.168.1.100]) - USER matt (Login failed): Invalid shell: ''
(my computer's ip is .100 - i'm working on a local network)
not quite sure how to get around the "invalid shell".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.