LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-06-2003, 09:52 AM   #1
nocturnal
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware, LFS
Posts: 80

Rep: Reputation: 15
sysctl.conf


i want to set it so that normal users can only see their own processes when using ps and i was told this could be donee with sysctl but i've read the freebsd man pages and i don't have a clue how to do it...
 
Old 12-07-2003, 12:40 AM   #2
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
security.bsd.see_other_uids="0"

//edit
If you wish to see all your options, type the following command:
Code:
sysctl -a
 
Old 12-08-2003, 06:48 AM   #3
nocturnal
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware, LFS
Posts: 80

Original Poster
Rep: Reputation: 15
thank you very much but in what conf file could i put this?
 
Old 12-08-2003, 07:07 AM   #4
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
The manual it tells me `/etc/sysctl.conf'. What does the manual tell you?
 
Old 12-11-2003, 06:43 PM   #5
nullpt
Member
 
Registered: Jul 2003
Distribution: Red Hat
Posts: 94

Rep: Reputation: 15
Well if you are running 4.x, the sysctl variable name is:
kern.ps_showallprocs -> 0

The sysctl.conf will be executed upon startup, so if you want to get this running now, you'll have to set up the variables on your own.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/Sysctl.conf really I need it? Beised Linux - Software 2 08-25-2004 08:36 AM
sysctl.conf resets itself? JohnLocke Linux - Newbie 1 07-14-2004 10:24 PM
/etc/sysctl.conf ??? biscristi Linux - Software 0 06-03-2004 09:50 AM
sysctl.conf is reseting PhilD Linux - Networking 0 06-02-2003 12:14 PM
help! the /etc/sysctl.conf darkstarreddiam Linux - Networking 2 05-08-2003 09:55 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration