From owner-freebsd-questions Mon Jan 22 14:35: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id B902E37B6AF for ; Mon, 22 Jan 2001 14:34:50 -0800 (PST) Received: from [212.238.77.116] (helo=gateway.raggedclown.net) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14KpY1-000KYu-00; Mon, 22 Jan 2001 22:34:49 +0000 Received: from buffy.raggedclown.net (btvs.demon.nl [192.168.1.2]) by gateway.raggedclown.net (Postfix) with ESMTP id 323705DB0; Mon, 22 Jan 2001 23:33:34 +0100 (CET) Received: by buffy.raggedclown.net (Postfix on SuSE Linux 7.0 (i386), from userid 500) id 481C012C4B; Mon, 22 Jan 2001 23:12:10 +0100 (CET) From: Cliff Sarginson Date: Mon, 22 Jan 2001 23:12:08 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: "Alex Toushek" , References: <000401c08428$fa2d3980$9d629a8e@stinky> In-Reply-To: <000401c08428$fa2d3980$9d629a8e@stinky> Subject: Re: User Shells MIME-Version: 1.0 Message-Id: <01012223120800.01564@buffy> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday 22 January 2001 05:08, Alex Toushek wrote: > > How do I restrict users to only have access in their own home > directories? > > You can run them in a restricted shell, in bash you use the -r flag. I have no idea what it is in csh/tcsh. It can be done in the Bourne Shell as well, that used to be called "rsh", but "rsh" is something different now. Have a look in the manual pages , probably something in there. Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message