RE: ftp access
From: Aaron D.Gifford (agifford@infowest.com)
Date: 03/01/01
- Next message: Kris Kennaway: "Re: ssh tricks (was Re: ssh -t <host> /bin/sh trick (was Re: ftp"
- Previous message: Nate Williams: "Re: ssh tricks (was Re: ssh -t <host> /bin/sh trick (was Re: ftp"
- Maybe in reply to: George.Giles@mcmail.vanderbilt.edu: "ftp access"
- Next in thread: Riley J. McIntire: "RE: ftp access"
- Reply: Riley J. McIntire: "RE: ftp access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Aaron D.Gifford <agifford@infowest.com> To: freebsd-security@freebsd.org Date: Thu, 1 Mar 2001 10:01:44 -0700
I would caution folks from putting /sbin/nologin into /etc/shells in order to
create FTP-only accounts. I would instead suggest you create a link to
/sbin/nologin and call it something like /sbin/ftponly and put THAT shell in
your /etc/shells file and use it as the shell for your FTP-only users.
Why? This gives you the ability to have FTP-only users yet retain the full
functionality of /sbin/nologin on other accounts (i.e. a mail-only account)
that you DON'T want to grant FTP access to.
Also if you're running SSH on the FTP server and you do NOT want your FTP
users to be able to do port forwarding (it can be dangerous to allow unless
you trust your FTP users greatly and trust that their cleartext passwords
won't traverse an untrusted network) you should probably disable it in your
sshd_config file.
Aaron out.
-- www.aarongifford.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
- Next message: Kris Kennaway: "Re: ssh tricks (was Re: ssh -t <host> /bin/sh trick (was Re: ftp"
- Previous message: Nate Williams: "Re: ssh tricks (was Re: ssh -t <host> /bin/sh trick (was Re: ftp"
- Maybe in reply to: George.Giles@mcmail.vanderbilt.edu: "ftp access"
- Next in thread: Riley J. McIntire: "RE: ftp access"
- Reply: Riley J. McIntire: "RE: ftp access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|