From owner-freebsd-questions Sun Jun 11 5:26:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from FENIX.MINE.NU (CC4140-a.sneek1.fr.nl.home.com [212.120.108.75]) by hub.freebsd.org (Postfix) with ESMTP id AFF7937B832 for ; Sun, 11 Jun 2000 05:26:22 -0700 (PDT) (envelope-from fenix@fenix.mine.nu) Received: from Fenix (Lan [192.168.0.65]) by FENIX.MINE.NU (8.9.3/8.9.3) with SMTP id OAA01297 for ; Sun, 11 Jun 2000 14:26:17 +0200 (CEST) (envelope-from fenix@fenix.mine.nu) From: "FENIX" To: "FreeBSD Questions" Subject: RE: How can you disable the 'cd' and 'ls' commands Date: Sun, 11 Jun 2000 14:25:27 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Subject: RE: How can you disable the 'cd' and 'ls' commands > > > you can set the premissions to those files in /bin to no read no search no > execute for others .... but only the owners, root is the default owner, so > you then can add your normal accaount to wheel group and set > premisshions to > group as read execute to be able to use it yourself. However cd is a shell command, i think if you create a fake cd in /bin it may also work, mail me for details if you need more > > May the source be with you ! > > > -----Original Message----- > > From: owner-freebsd-questions@FreeBSD.ORG > > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Herbert Nkhoma > > Sent: Sunday, June 11, 2000 1:24 PM > > To: freebsd-questions@FreeBSD.ORG > > Subject: How can you disable the 'cd' and 'ls' commands > > > > > > I dont want my users to see a list of the other users on the > > system. How can > > I disable the 'ls' and 'cd' commands? Or rather what is the best way of > > going about to achieve this. > > > > Herbert > > > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message