View Single Post

   
  #1 (permalink)  
Old 02-19-2008, 06:54 AM
Gecko
 
Posts: n/a
Default Using PROFTPD and want a user to log in without valid shell

I have ProFTPD running on my 9.1 box and want to put a users home
directory in the web folder as this user will be putting docs on our
website. I have successfully chrooted the ftp server to lock him in the
directory, however I do NOT want that user to be able to log in and get
a shell. Whenever I put an invalid shell in the /etc/passwd file I am
unable to log into FTP. When i put it to /bin/bash, I have no problems.
Is it possible to have a user login via FTP but not have a valid shell
or am I out of luck. I would have to believe the former, but I cant
seem to find a way.

Thanks,

Gecko
Reply With Quote