Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2001 08:42:22 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Henry smith <getzz11@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bash... ?
Message-ID:  <20011111084222.I35710@k7.mavetju.org>
In-Reply-To: <20011110174617.99683.qmail@web21106.mail.yahoo.com>; from getzz11@yahoo.com on Sat, Nov 10, 2001 at 09:46:17AM -0800
References:  <20011110174617.99683.qmail@web21106.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 10, 2001 at 09:46:17AM -0800, Henry smith wrote:
> How to make normal user can't see the whole system ?
> ex:
> login: test
> when I do 'ps x',
> I can see other users process, or even root's process.

You shouldn't. That behaviour should only happen with 'ps ax'.

> How to make when I do 'ps x' only show the proccess
> that runs under user 'test' ?

Compile it without the 'a' option (you have to dig through the
sources for that), but it will stop nobody from compiling a proper
working ps command.

Edwin
-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

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?20011111084222.I35710>