From owner-freebsd-questions@FreeBSD.ORG Wed Jul 20 13:12:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AA8D16A41F for ; Wed, 20 Jul 2005 13:12:45 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A828343D53 for ; Wed, 20 Jul 2005 13:12:44 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 66BCF997746; Wed, 20 Jul 2005 15:12:43 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 91879-01; Wed, 20 Jul 2005 15:12:40 +0200 (CEST) Received: from [80.98.156.20] (catv-50629c14.catv.broadband.hu [80.98.156.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 0F8899974C6; Wed, 20 Jul 2005 15:12:40 +0200 (CEST) Message-ID: <42DE4DC6.6090506@t-hosting.hu> Date: Wed, 20 Jul 2005 15:12:38 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: akhthar@carmatec.com References: <200507201842.20904.akhthar@carmatec.com> In-Reply-To: <200507201842.20904.akhthar@carmatec.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at t-hosting.hu Cc: FreeBSD - Questions Subject: Re: ps -awux X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 13:12:45 -0000 Akhthar Parvez. K wrote: >Hello, > >When I run the command ps -awux from a user's bash shell(not root), it's >listing the processes under the particular user only. Can anyone tell me why? > > > You must have these two sysctls set to 0: security.bsd.see_other_gids security.bsd.see_other_uids This prevents that users see processes running under another uid. Or You must have mac_seeotheruids MAC module enabled. This module is for hardening the previous two sysctls. Cheers, Gábor Kövesdán