Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 15:37:24 +0100
From:      Roman Neuhauser <neuhauser@mobil.cz>
To:        Nelis Lamprecht <nelis@brabys.co.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hiding processes from users?
Message-ID:  <20020325143724.GQ389@roman.mobil.cz>
In-Reply-To: <5.1.0.14.2.20020325160949.0138a888@192.96.48.11>
References:  <5.1.0.14.2.20020325160949.0138a888@192.96.48.11>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 25 Mar 2002 16:13:32 +0200
> To: freebsd-questions@freebsd.org
> From: Nelis Lamprecht <nelis@brabys.co.za>
> Subject: hiding processes from users?
> 
> Hi
> 
> I know that it is possible to hide system processes so that normal users 
> will only be able to see their own in fbsd but I don't know how. please 
> help.

    # sysctl kern.ps_showallprocs=0
    # echo 'kern.ps_showallprocs=0' >> /etc/sysctl.conf

    the first will disable listing of processes not belonging to the
    respective user, effective immediatelly, until reboot.

    the latter will make it permanent.

-- 
FreeBSD 4.4-STABLE
3:32PM up 23:18, 13 users, load averages: 0.02, 0.14, 0.15

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?20020325143724.GQ389>