LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Proftpd and shell access (http://www.linuxquestions.org/questions/slackware-14/proftpd-and-shell-access-77413/)

hydro 07-30-2003 04:13 PM

Proftpd and shell access
 
When I used redhat, in passwd I would set shell type to /bin/noshell or something so people cant use bash.

When I try doing that in slackware people cant login into proftpd. only if i set it to /bin/bash.

My question is how can I remove shell access to specific users but still let them use the ftp

BassZero 07-31-2003 06:14 AM

Option 1 :
there is a proftpd option that allows users to login in with invalid shells.
Option 2:
A typical shell to use that will disallow login is /sbin/nologin. The difference is that this program actually exists.

hydro 07-31-2003 01:30 PM

Hey Bass.

Option1 : What option?

Option2: No such program, and setting it to that doest work

svelemor 08-01-2003 06:52 AM

Skip the whole proftpd and change to glftpd, and all your sorrows are gone. It has its own user and group system, so ftp users don't get any other access to the server than just ftp.

Also its unbelivebly configurable, fast and feature-rich. Simply the perfect ftp-server.

Enjoy!


www.glftpd.com

svelemor 08-01-2003 06:54 AM

And for the record, no I don't work for them, and no, I don't make any money for saying its the best ftp daemon out there. I'm just a happy glftpd user!

hydro 08-01-2003 12:54 PM

Wasnt the answer I was looking for :)


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