Re: sFTP compared with FTP via VPN
From: Jim Hatfield (jim.hatfield_at_insignia.com)
Date: 04/28/04
- Previous message: Juha Laiho: "Re: Feeding /dev/random with /dev/urandom"
- In reply to: mgrd: "Re: sFTP compared with FTP via VPN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Apr 2004 18:32:33 +0100
On Tue, 27 Apr 2004 20:43:48 +0200, mgrd <mgrd@gmx.net> wrote:
>For an FTP only account it's sufficient to put `/sbin/nologin' in their
>passwd file
Not on all operating systems. From the man page for ftpd on FreeBSD:
> The ftpd utility authenticates users according to six rules.
>
> 1. The login name must be in the password data base and not have
> a null password.
>
> 2. The login name must not appear in the file /etc/ftpusers.
>
> 3. The login name must not be a member of a group specified in
> the file /etc/ftpusers. Entries in this file interpreted as
> group names are prefixed by an "at" `@' sign.
>
> 4. The user must have a standard shell returned by
> getusershell(3).
getusershell(3) looks in /etc/shells. As installed, this looks
like:
>/bin/sh
>/bin/csh
>/bin/tcsh
though it's trivial to add /sbin/nologin to it.
jim
-- Jim Hatfield
- Previous message: Juha Laiho: "Re: Feeding /dev/random with /dev/urandom"
- In reply to: mgrd: "Re: sFTP compared with FTP via VPN"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|