From owner-freebsd-security Thu Nov 22 9:28: 5 2001 Delivered-To: freebsd-security@freebsd.org Received: from chaos.evolve.za.net (chaos.evolve.za.net [196.34.172.107]) by hub.freebsd.org (Postfix) with ESMTP id D280437B405 for ; Thu, 22 Nov 2001 09:27:58 -0800 (PST) Received: from DAVE ([192.168.0.54]) by chaos.evolve.za.net (8.11.6/1.1.3) with SMTP id fAMHRm602184 for ; Thu, 22 Nov 2001 19:27:53 +0200 (SAST) (envelope-from dave@raven.za.net) Message-ID: <001b01c1737a$9f1a7480$3600a8c0@DAVE> From: "Dave Raven" To: References: <20011122180203.C61433@mars.thuis> Subject: Re: Help on directories Date: Thu, 22 Nov 2001 19:24:57 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org As to whether or not this was the original question I am unsure, but on the subject I was wondering how do you achieve the same effect that adding a user to /etc/ftpchroot with a telnet / sshd shell. This would be so the user can access his directory etc (/home/bob) but not cd below it. Many shell servers etc use it. At least, I think that was the question. --Dave Optec Sec. ----- Original Message ----- From: "Axel Scheepers" To: "Juan Mauricio Camayo" Cc: Sent: Thursday, November 22, 2001 7:02 PM Subject: Re: Help on directories > On Thu, Nov 22, 2001 at 11:41:25AM -0500, Juan Mauricio Camayo wrote: > > If someone know about a program that prevent the users to go back of his > > own directory, but allow to "see" his directories on it, just like the > > lids on Unix or linux, but not as restrictive as bash -r. > > I'm not quite sure what you mean, but you could try to chmod g-x for the dir, > that way it is still visible but only the owner can cd into it. > Hope this helps, > -- > Axel Scheepers > UNIX System Administrator > > email: axel@axel.truedestiny.net > ascheepers@vianetworks.nl > http://axel.truedestiny.net/~axel > ------------------------------------------ > "You can't survive by sucking the juice from a wet mitten." > -- Charles Schulz, "Things I've Had to Learn Over and > Over and Over" > ------------------------------------------ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-security" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message