Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2001 20:24:36 +0300
From:      Odhiambo Washington <wash@iconnect.co.ke>
To:        Mike Meyer <mwm@mired.org>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: kern.securelevel changes?
Message-ID:  <20010202202436.B82567@poeza.iconnect.co.ke>
In-Reply-To: <14970.59812.328312.718346@guru.mired.org>;  from "Mike Meyer" on Fri, Feb 02, 2001 at 11:08:52AM -0600
References:  <92820033@toto.iv> <14970.59812.328312.718346@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Mike Meyer <mwm@mired.org> [20010202 20:10]: writing on the subject 'Re: kern.securelevel changes?'
Mike> Omer Faruk Sen <ofsenfreebsd@yahoo.com> types:
Mike> > hi.
Mike> > Is there a document that explains all changes when I
Mike> > switch my kern.securelevel from -1 to 0 or at the same
Mike> > time switch it from 0 to +1?
Mike> 
Mike> The init man page.
Mike> 
Mike> > I want to make my users just to see their own process
Mike> > not other?How can I obtain that?I was thinking that it
Mike> > was about kern.securelevel but I did -1 --> 0 and
Mike> > nothing has changed users still can see other
Mike> > processes
Mike> 
Mike> Well, someone claimed there was a sysctl to do that, but I don't see
Mike> how, as ps reads kernel virtual memory, and once you can do that, you
Mike> can read the info for any process, not just your own.

Mike, then in that case how does an ordinary user circumvent this one:

kern.ps_showallprocs=0 

With it I can see only my own processes....

wash:~$ ps -auxw | more
USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root  1318  1.7  7.8 14848 12512  ??  S    Thu08PM 102:27.21 /usr/X11R6/bin/X :0 (XF86_S3V)
wash  1312  0.0  0.1   628  152  v1  I+   Thu08PM   0:00.01 /bin/sh /usr/X11R6/bin/startx
wash  1317  0.0  0.5  2072  820  v1  I+   Thu08PM   0:00.01 xinit /home/wash/.xinitrc --
wash  1321  0.0  0.1   624  152  v1  I    Thu08PM   0:00.02 /bin/sh /usr/local/bin/startkde
wash  1343  0.0  2.9 16308 4688  ??  S    Thu08PM   0:00.24 kdeinit: dcopserver (kdeinit)
wash  1345  0.0  3.4 16504 5356  ??  I    Thu08PM   0:00.12 kdeinit: klauncher (kdeinit)
wash  1347  0.0  4.6 17740 7348  ??  S    Thu08PM   0:50.06 kdeinit: kdesktop (kdeinit)
wash  1349  0.0  3.1 16252 4964  ??  S    Thu08PM   2:07.57 kdeinit: kded (kdeinit)
wash  1357  0.0  3.1 16336 4984  ??  I    Thu08PM   0:00.02 kdeinit: kxmlrpcd (kdeinit)
wash  1365  0.0  5.1 18436 8224  ??  S    Thu08PM   1:07.43 kdeinit: kicker (kdeinit)


Mike> 
Mike> 	<mike
Mike> --
Mike> Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Mike> Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Mike> 
Mike> 
Mike> To Unsubscribe: send mail to majordomo@FreeBSD.org
Mike> with "unsubscribe freebsd-questions" in the body of the message

-Wash

--
Odhiambo Washington Inter-Connect Ltd.,
wash@iconnect.co.ke 5th Flr Furaha Plaza
Tel: 254 11 222604 Nkrumah Rd.,
Fax: 254 11 222636 PO Box 83613 MOMBASA, KE.

Into each life some rain must fall, some days must be dark and dreary. -Henry 
Wadsworth Longfellow 


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?20010202202436.B82567>