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


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

Re: Fail to reset onwership to root after installation

From Benjamin Esham <usenet@esham.io>
Newsgroups comp.sys.mac.system
Subject Re: Fail to reset onwership to root after installation
Date 2019-09-06 19:24 -0400
Organization United Federation of Planets
Message-ID <k08qkjhx.fdwr6c@bdesham.net> (permalink)
References (2 earlier) <qkp471$eh5$1@dont-email.me> <gtckjcFhpc2U1@mid.individual.net> <n1kcF.43637$A81.41674@fx15.iad> <slrnqn459g.2blt.g.kreme@promini.lan> <cOycF.272589$BJ1.171611@fx43.iad>

Show all headers | View raw


JF Mezei wrote:

> sudo worked before installing homebrrew.
> sudo stopped working after installation of homebrew when I wanted to
> reset ownership of /usr/local directories that homebrew changed.
>
> root account enabled AFTER sudo stopped working.  So enabling root could
> not have broken sudo since it was broken before.
>
> So again. what type of command could have rendered sudo inoperative
> while keeping its owner root/wheel ?

Do you have your command-line history saved? I believe it's saved by default
on macOS. If you run

    history | grep -w sudo

do you see anything... weird?

(If you don't keep track of your command-line history I would highly
recommend turning it on. I find it to be a huge time saver, and it can be a
life saver as well if you happen to screw something up and need to remember
what you did.)

-- 
Benjamin Esham
https://esham.io

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


Thread

Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-04 13:25 -0400
  Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-04 13:49 -0400
    Re: Fail to reset onwership to root after installation André G. Isaak <agisaak@gm.invalid> - 2019-09-04 13:44 -0600
      Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-05 14:32 +0000
        Re: Fail to reset onwership to root after installation André G. Isaak <agisaak@gm.invalid> - 2019-09-05 08:38 -0600
          Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 00:45 +0000
            Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:33 +0000
              Re: Fail to reset onwership to root after installation Panthera Tigris Altaica <northentiger@outlook.com> - 2019-09-06 15:16 -0400
                Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 20:02 +0000
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-07 18:11 +0000
                Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-07 14:20 -0400
                Re: Fail to reset onwership to root after installation nospam <nospam@nospam.invalid> - 2019-09-07 14:22 -0400
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-08 15:20 +0000
                Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-08 13:31 -0400
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-09 00:12 +0000
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-07 18:10 +0000
                Re: Fail to reset onwership to root after installation ~BD~ <BD@nomail.afraid.org> - 2019-09-07 19:43 +0000
        Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-05 23:04 -0400
          Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 08:13 +0000
            Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:46 +0000
            Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-06 15:52 -0400
              Re: Fail to reset onwership to root after installation André G. Isaak <agisaak@gm.invalid> - 2019-09-06 14:03 -0600
              Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 20:05 +0000
              Re: Fail to reset onwership to root after installation Alan Baker <nunya@ness.biz> - 2019-09-06 15:57 -0700
              Re: Fail to reset onwership to root after installation Benjamin Esham <usenet@esham.io> - 2019-09-06 19:24 -0400
                Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-07 13:43 -0400
                Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-07 20:32 +0000
                Re: Fail to reset onwership to root after installation Benjamin Esham <usenet@esham.io> - 2019-09-07 16:39 -0400
                Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-08 15:19 +0000
          Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:38 +0000
  Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-04 19:06 +0000
    Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-04 15:46 -0400
      Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-04 23:54 +0000
        Re: Fail to reset onwership to root after installation JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-09-05 23:02 -0400
          Re: Fail to reset onwership to root after installation Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-09-06 07:59 +0000
          Re: Fail to reset onwership to root after installation Jolly Roger <jollyroger@pobox.com> - 2019-09-06 17:36 +0000

csiph-web