Re: FTP und login

From: Oliver Fromme <olli(at)secnetix.de>
Date: Wed, 17 Oct 2001 18:40:30 +0200 (CEST)

Dejan Grujin <DGrujin(at)b-o-p.de> wrote:
> wie kann ich einen Benutzer so einrichten, daß er sich nicht per telnet oder
> ssh einloggen darf, per ftp aber schon??

# cp -p /sbin/nologin /sbin/ftponly
# echo /sbin/ftponly >> /etc/shells
# pw usermod $BENUTZER /sbin/ftponly

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-questions" in the body of the message
Received on Wed 17 Oct 2001 - 18:40:32 CEST

search this site