Re: ftp shell

From: Oliver Fromme <olli(at)secnetix.de>
Date: Mon, 23 Apr 2001 15:13:00 +0200 (CEST)

['rüber zu de-bsd-questions(at)de.freebsd.org]

Jörg Renner <renner(at)ms-net.de> wrote:
> kennt jemand eine Shell mit der die Benutzer nur
> FTP Zugang zum Server erhalten. nicht aber ssh oder
> telnet?

$ cp /sbin/nologin /sbin/ftponly
$ echo /sbin/ftponly >> /etc/shells

Dann den betreffenden Benutzern /sbin/ftponly als Login-
Shell geben. Sie kommen dann nur noch per FTP hinein.

Allerdings solltest Du evtl. drauf achten, sie auch von
anderen Services auszuklammern (POP, IMAP usw.), falls
solche ebenfalls auf dem Rechner laufen.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"All that we see or seem is just a dream within a dream" (E. A. Poe)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-hubs" in the body of the message
Received on Mon 23 Apr 2001 - 15:13:03 CEST

search this site