The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Utility privs
@ 2018-04-28 16:53 Ron Natalie
  2018-04-28 21:03 ` Warner Losh
  0 siblings, 1 reply; 2+ messages in thread
From: Ron Natalie @ 2018-04-28 16:53 UTC (permalink / raw)


Depending on the system PS may or may not need to be setuid to work by non-root users.     

Ping needs to be setuid because it uses raw sockets which are restricted (much like opening listens on low number ports) in many systems.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [TUHS] Utility privs
  2018-04-28 16:53 [TUHS] Utility privs Ron Natalie
@ 2018-04-28 21:03 ` Warner Losh
  0 siblings, 0 replies; 2+ messages in thread
From: Warner Losh @ 2018-04-28 21:03 UTC (permalink / raw)


On Sat, Apr 28, 2018 at 10:53 AM, Ron Natalie <ron at ronnatalie.com> wrote:

> Depending on the system PS may or may not need to be setuid to work by
> non-root users.
>
> Ping needs to be setuid because it uses raw sockets which are restricted
> (much like opening listens on low number ports) in many systems.
>

OSes could provide a controlled interface to ping, but there's not enough
of a win to do so.

Warner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20180428/84a64901/attachment.html>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-28 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-28 16:53 [TUHS] Utility privs Ron Natalie
2018-04-28 21:03 ` Warner Losh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).