Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: proxy_user
For example, the ‘ls’ command runs as root, so any user can see any other user’s processes

Is that a Mac silliness? ls (or ps, which you probably meant) certainly aren't suid on RHEL.

20 posted on 08/04/2015 9:33:35 AM PDT by Darth Reardon (Is it any wonder I'm not the president?)
[ Post Reply | Private Reply | To 6 | View Replies ]


To: Darth Reardon

Yeah, I mistyped ‘ls’ when I meant ‘ps’. If I did that on a command line, I would soon see my mistake when I get a list of my files instead of my processes. Ooops!

But this is true on all Unix machines the ‘ps’ command must be SUID root, or you could only ever see your own processes.


22 posted on 08/04/2015 9:41:15 AM PDT by proxy_user
[ Post Reply | Private Reply | To 20 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson