From owner-freebsd-questions Mon Jun 12 9:30: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from illiad.adhesivemedia.com (illiad.adhesivemedia.com [207.202.159.74]) by hub.freebsd.org (Postfix) with ESMTP id 230DA37B567 for ; Mon, 12 Jun 2000 09:29:49 -0700 (PDT) (envelope-from philip@illiad.adhesivemedia.com) Received: (from philip@localhost) by illiad.adhesivemedia.com (8.9.3/8.9.3) id JAA91591; Mon, 12 Jun 2000 09:30:07 -0700 (PDT) (envelope-from philip) Message-Id: <200006121630.JAA91591@illiad.adhesivemedia.com> From: philip@adhesivemedia.com (Philip Hallstrom) To: freebsd-questions@freebsd.org Date: Mon, 12 Jun 2000 09:12:05 -0700 Subject: Re: How can you disable the 'cd' and 'ls' commands X-Mailer: Tiny NNTPD v0.2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This wouldn't really stop them though since a user could still right a perl/c/whateverlanguage program to simulate cd and ls... you'll probably want to change the permissions on their home directories so that only the owner can cd/ls them... In article , FENIX wrote: >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 >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