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


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

Re: Grabnting socket privilege to unix utilities

Subject Re: Grabnting socket privilege to unix utilities
Newsgroups comp.sys.mac.system
References <ym3EF.214934$oT5.74835@fx47.iad> <qrr64g$7hd$1@remote5bge0.ripco.com> <f6eEF.46412$gt2.26112@fx02.iad> <qrtltd$atm$1@remote5bge0.ripco.com> <5GBEF.46443$gt2.474@fx02.iad>
From JF Mezei <jfmezei.spamnot@vaxination.ca>
Message-ID <bZGEF.113229$YF.7514@fx43.iad> (permalink)
Date 2019-11-30 23:04 -0500

Show all headers | View raw


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

The binaries in /usr/local/bin were already onwed by it.

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

That did the trick.  "s"  tells the OS to run that executable under the
username of the owner of the file instead of that of the parent process
(aka: the user running the command).

Are there users who have enough privileges to say create sockets such as
what is needed for ping, but dont have the full mights of root?

(on VMS, one could grant, via the INSTALL utility, specific privileges
to the app, so the app ran under your user, but the binary code was
granted those specific privs (so for instance, possible to listen to a
well known port, but not access all system files).

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