From owner-freebsd-questions Mon Oct 21 23:34:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA02927 for questions-outgoing; Mon, 21 Oct 1996 23:34:14 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA02907 for ; Mon, 21 Oct 1996 23:34:11 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id XAA05130; Mon, 21 Oct 1996 23:32:56 -0700 (PDT) Date: Mon, 21 Oct 1996 23:32:55 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Gianmarco Giovannelli cc: questions@FreeBSD.org Subject: Re: Restricted user ftp and shells In-Reply-To: <3.0b35.32.19961021155245.006997e0@masternet.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 21 Oct 1996, Gianmarco Giovannelli wrote: > > Is possible to restrict the ftp (no anonymous) for the users at their home > directory without having them to go here and there taking files ? > > Or I must chmod all my dirs ? If the permissions aren't set right then they'll do it anyway by copying the file they want to their home directory then ftp'ing it. You should fix this properly by channging the permissions on everyone's directories. To what, I don't know; 711? I think this is what our University servers use so Web ~/public_html works properly but you can't read what's in someone's directory. > Another thing, Is possible to have a shell with a limited set of command to > use as default shell for remote users. I take ssh from the ports, but with > 2.1.5 I am not able to compile it. Now I'll try at home with 2.2 -current. There is a reduced command set shell I believe. It depends on what you want to do. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major