Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #127728

Re: Grabnting socket privilege to unix utilities

From bje@ripco.com
Newsgroups comp.sys.mac.system
Subject Re: Grabnting socket privilege to unix utilities
Date 2019-11-30 12:05 +0000
Organization Ripco Communications Inc.
Message-ID <qrtltd$atm$1@remote5bge0.ripco.com> (permalink)
References <ym3EF.214934$oT5.74835@fx47.iad> <qrr64g$7hd$1@remote5bge0.ripco.com> <f6eEF.46412$gt2.26112@fx02.iad>

Show all headers | View raw


JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> Likely when I installed a package of Unix internet utulities to replace
> some of the missing ones, it installed ping with it even if High Sierra
> still has ping. Hoevere, question remains: what is the procedure to give
> a line command binary the raw socket privilege ?

It's sudo.

Just sudo the command and be happy.

It's a permission problem somewhere and appears to need to run as the
privledged user (root). 

Since you seem intent on fucking up your mac more than it is now, I'd try to
do this first:

sudo chown root:wheel command-that-is-a-problem

see if that works, if not, try:

sudo chmod u+s command-that-is-a-problem

That sets the suid bit for the command to run as the owner (root). No clue
with all the SIP shit if that works but if it doesn't, too bad. It's also
not a good idea to do this generally. Early svr4 systems did it alot and if
there was some way to bail out of the running the command (control-c or
control-d), the non-privledged user ends up as root.

I'd guess it's trying to open one of the files under /dev that is marked
root read/write only or group/world as read only and needs to write to it.

-bruce
bje@ripco.com
 

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-29 02:00 -0500
  Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-11-29 13:23 +0000
    Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-29 14:14 -0500
      Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-11-30 12:05 +0000
        Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-30 17:02 -0500
          Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-30 23:04 -0500
            Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 07:29 +0000
              Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 17:25 -0500
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 22:32 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 22:36 -0500
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-02 09:21 +0000
                Re: Grabnting socket privilege to unix utilities Jolly Roger <jollyroger@pobox.com> - 2019-12-02 15:43 +0000
                Re: Grabnting socket privilege to unix utilities Larry Moss <moss@airigami.com> - 2019-12-02 15:47 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-02 14:33 -0500
                Re: Grabnting socket privilege to unix utilities Alan Baker <nunya@ness.biz> - 2019-12-02 15:44 -0800
                Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-03 10:56 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-03 16:54 -0500
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-04 06:03 +0000
                Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-04 14:13 +0000
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-05 07:06 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-05 05:03 -0500
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-05 11:28 +0000
                Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-05 12:48 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-05 18:31 -0500
                Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-05 22:35 -0800
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-06 04:11 -0500
                Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-13 09:51 -0800
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-06 07:12 +0000
                Re: Grabnting socket privilege to unix utilities Jolly Roger <jollyroger@pobox.com> - 2019-12-06 07:38 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-06 04:26 -0500
                Re: Grabnting socket privilege to unix utilities Larry Moss <moss@airigami.com> - 2019-12-03 01:15 +0000
                Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-05 22:36 -0800
            Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-01 01:01 -0800
              Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 10:47 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 17:29 -0500
            Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-01 12:31 +0000

csiph-web