Date: Sun, 11 Jun 2000 14:25:27 +0200 From: "FENIX" <fenix@fenix.mine.nu> To: "FreeBSD Questions" <questions@FreeBSD.ORG> Subject: RE: How can you disable the 'cd' and 'ls' commands Message-ID: <NEBBKOIMOLKALNONLNCIGEEPCAAA.fenix@fenix.mine.nu> In-Reply-To: <NEBBKOIMOLKALNONLNCIKEEOCAAA.fenix@fenix.mine.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBKOIMOLKALNONLNCIGEEPCAAA.fenix>