[SLL] ftponly... with scp or sftp
John Aldrich
JAldrich at covista.com
Tue May 17 09:54:49 PDT 2005
Not positive, but the /bin/nologin seems to indicate something that would be
used for a mail-only account or something like that. Try /bin/false instead.
When I worked for an ISP here in Chattanooga a few years ago, we set that up
for our FTP users. Worked great. Would not permit them to drop to a shell,
but would allow them to FTP in, etc.
John
-----Original Message-----
From: Francois Caen [mailto:frcaen at gmail.com]
Sent: Tuesday, May 17, 2005 11:21 AM
To: John Aldrich
Cc: Seattle Linux List
Subject: Re: [SLL] ftponly... with scp or sftp
On 5/17/05, John Aldrich <JAldrich at covista.com> wrote:
> Well, you could always set the shell to /bin/false for anyone you didn't
> want to get a shell. That and chroot come to mind as good ways to prevent
> people from leaving their directories.
I tried setting the shell to /bin/nologin. The user could not scp/sftp
afterwards :-(
Francois
More information about the linux-list
mailing list