From owner-freebsd-questions Thu Sep 5 9:30:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A15C37B400 for ; Thu, 5 Sep 2002 09:30:22 -0700 (PDT) Received: from hotmail.com (oe45.pav2.hotmail.com [64.4.36.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id E93A043E65 for ; Thu, 5 Sep 2002 09:30:21 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 5 Sep 2002 09:30:21 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Radko Keves" , References: <20020903155040.GA66479@studnet.sk> Subject: Re: restricted shell Date: Thu, 5 Sep 2002 10:14:27 +0530 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 Message-ID: X-OriginalArrivalTime: 05 Sep 2002 16:30:21.0797 (UTC) FILETIME=[87936950:01C254F9] 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 create a special bin directory /usr/rbin and put only important binaries in the /usr/rbin directory, and then only this directory should be in the users' path I have done this before ----- Original Message ----- From: "Radko Keves" To: Sent: Tuesday, September 03, 2002 09:20 PM Subject: restricted shell > hi all i have question about restricted shell (for example rbash) > SHELL enviroment is read only, but user can run another shell if is in PATH, can i disallow changing shell? > i don't want get out all shells of PATH (because there is a problem with . option in path and users own programs) > > thank and bye > -- > 17:35 up 49 mins, 13 users, load averages: 4,01 3,79 3,27 > -- > FreeBSD 5.0-CURRENT #12: root@kripel:/usr/src/sys/i386/compile/angel > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message