Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 09:12:05 -0700
From:      philip@adhesivemedia.com (Philip Hallstrom)
To:        freebsd-questions@freebsd.org
Subject:   Re: How can you disable the 'cd' and 'ls' commands
Message-ID:  <200006121630.JAA91591@illiad.adhesivemedia.com>

next in thread | raw e-mail | index | archive | help
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 <am.freebsd.questions.960725912.85803@illiad.adhesivemedia.com>,
FENIX <fenix@fenix.mine.nu> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006121630.JAA91591>