RE: ftp server with no shell accounts
> I tried the default ftp server with FreeBSD 5.4 and users > with no shell > accounts but it does not work. > > Does anyone know of a ftp server that users would still have home > directories but no shell access /sbin/nologin and that could still > upload files to there home directories. The default ftpd will work with a little tweaking. 1. touch /bin/ftpshell 2. echo "/bin/ftpshell" >> /etc/shells 3. When you add your users, set their shell to /bin/ftpshell 4. echo USERNAME >> /etc/ftpchroot The users will be able to login via ftp and nothing else because there shell is a crap fake shell. The ftpchroot will lock them into their home directory very effectively. Scott ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp server with no shell accounts
I much prefer the pure-ftpd implementation of virtual users. However, both will get the job done effectively. The only reason I really prefer pure over pro is that pure has never had one root exploit found since release number 1. That's reason enough for me :) On 5/10/06, Beech Rintoul <[EMAIL PROTECTED]> wrote: On Wednesday 10 May 2006 16:20, Sean Murphy wrote: > I tried the default ftp server with FreeBSD 5.4 and users with no shell > accounts but it does not work. > > Does anyone know of a ftp server that users would still have home > directories but no shell access /sbin/nologin and that could still > upload files to there home directories. Try proftpd in the ports. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp server with no shell accounts
On Wednesday 10 May 2006 16:20, Sean Murphy wrote: > I tried the default ftp server with FreeBSD 5.4 and users with no shell > accounts but it does not work. > > Does anyone know of a ftp server that users would still have home > directories but no shell access /sbin/nologin and that could still > upload files to there home directories. Try proftpd in the ports. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com --- pgpp77UtmpaZ0.pgp Description: PGP signature
Re: ftp server with no shell accounts
On 5/10/06, Sean Murphy <[EMAIL PROTECTED]> wrote: I tried the default ftp server with FreeBSD 5.4 and users with no shell accounts but it does not work. Does anyone know of a ftp server that users would still have home directories but no shell access /sbin/nologin and that could still upload files to there home directories. I use the scponly shell. -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"