From owner-freebsd-questions Mon May 13 14:20:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fepC.post.tele.dk (fepC.post.tele.dk [195.41.46.147]) by hub.freebsd.org (Postfix) with ESMTP id 849AE37B400 for ; Mon, 13 May 2002 14:20:24 -0700 (PDT) Received: from there ([80.63.125.30]) by fepC.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP id <20020513211947.BILF22598.fepC.post.tele.dk@there> for ; Mon, 13 May 2002 23:19:47 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Daniel Blankensteiner To: freebsd-questions@freebsd.org Subject: FTPd and SSHd Date: Mon, 13 May 2002 23:20:01 +0200 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020513211947.BILF22598.fepC.post.tele.dk@there> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all I have ftpd and sshd running on my 4.5 Stable box.. * Some user may access the server via ssh, but not ftp, so I put the user in /etc/ftpusers * Some user may access the server via ftp, but not ssh, so I don't put the user in AllowUsers in /etc/ssh/sshd_config. But now comes the problem with sftp. I want to allow users to access sftp, but not ssh, how do I do this? I also want to /etc/ftpchroot the users, but sftp-server does not support this? Some users access the "normal" ftp, but the problem here is that user in the group "gang" have a shared upload dir, but they can not access it (there is a symlink in their home dir to the upload dir) when they are in /etc/ftpchroot. How do I work around this? br db To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message