LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Proftpd & anonymous users (https://www.linuxquestions.org/questions/linux-newbie-8/proftpd-and-anonymous-users-18666/)

Mithrilhall 04-16-2002 03:00 PM

Proftpd & anonymous users
 
How would I go about configuring an anonymous ftp site on my server using Proftpd? I went to their site and it said the easiest way was to create an anonymous user. My only problem with this is if the person trying to login with the anonymous account can also log onto the computer via ssh. So, how can I add a user and not allow them to access the computer through either a shell or ssh?

FunkFlex 04-16-2002 09:51 PM

in the User Manager or what ever u use to edit your user's properties there should be a LoginShell option where you can change different shell types for the user eg. bash, sh etc etc..

in there is an option to select /bin/false or <empty> or something along those lines.. if selected the specific user cannot login via shell..

Can someone confirm this for me just in case i'm wrong.

Mithrilhall 04-17-2002 10:21 AM

Re:
 
I'll give it a try when I get home. I don't think that was an option under the drop down box but I'll take another look. I'll also try to manually type it in there.

kylo8787 04-18-2002 10:50 AM

Well all you need to do is edit /etc/ftpusers and take out the user ftp and it will work...


All times are GMT -5. The time now is 01:54 PM.