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


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

Re: Recover root/wheel password?

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Recover root/wheel password?
Date 2019-01-09 20:30 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <g9n3vuFii6iU1@mid.individual.net> (permalink)
References <q10hl1$ief$1@panix3.panix.com> <g9idljFheb9U8@mid.individual.net> <pcydnf-nHfzcOKnBnZ2dnUU7-LudnZ2d@giganews.com> <g9jp3cFqjbqU1@mid.individual.net> <KdednRHLQbrx1KjBnZ2dnUU7-L3NnZ2d@giganews.com>

Show all headers | View raw


On 2019-01-09, Alan Browne <bitbucket@blackhole.com> wrote:
> On 2019-01-08 09:06, Jolly Roger wrote:
>> Alan Browne <bitbucket@blackhole.com> wrote:
>>> On 2019-01-07 20:45, Jolly Roger wrote:
>>>> On 2019-01-07, Brian Gordon <briang@panix.com> wrote:
>>>>> My mac's environment was created eons ago, but my personal login has most
>>>>> superpowers.  I need to delete a file owned by root/wheel and I am not being
>>>>> allowed to do it. Is there some way a privileged user can recover the needed
>>>>> password?
>>>>
>>>> Use "sudo" (assuming you are in am administrator account).
>>>
>>> I was trying to add a path to a .cfg in the /etc folder the other day
>>> and sudo appeared to work ... but I could not save changes to the file
>>> (using Textwrangler or Textedit).
>>>
>>> In the end, it seems, Mojave Commande Line tools for 10.14 don't work
>>> well; set up 10.13 CL compatible tools and my compiler works fine now...
>> 
>> You’re not making much sense...
>> 
>> I do stuff on the command line in Mojave all day every day. Everything
>> works just fine.
>
> For compilers (or more specifically, linkers) to work, you generally 
> need the Command Line Tools installed for the major version of MacOS. 
> So when my fpc compiler went Tango Uniform after installing 10.14, I 
> installed the CLT for 10.14.
>
> Compiler still didn't work.

"My Free Pascal install didn't work correctly after upgrading to macOS
10.14" 

...is nowhere *near* the same thing as your statement:

"10.14" is nowhere *near* the same thing as your statement that "Mojave
Command Line tools for 10.14 don't work well".

The command-line tools in macOS 10.14 work very well. What doesn't work
well is your Free Pascal setup.

> One poster on a Pascal site suggested adding a particular path to the 
> fpc.cfg, but I couldn't get it to save.  (Now I realize I probably had 
> to use vi, but not sure...).  I changed the permissions on the file, to 
> no avail ... (changed 'em back too).

Do you have a good understanding of how *nix permissions work? It sounds
like perhaps not. The editor you use isn't the issue; permissions are.
You could have used nano, emacs, vi, or any other, as long as you did it
with sudo or changed the permissions of the file you were editing to
allow you to write access to it.

> A little more Googling found that something doesn't align between the 
> linker and 10.14 and CLT for 10.14, so (per a suggestion there) 
> installed CLT for 10.13 and all is well.

I see that mentioned here:

<https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fmedium.com%2F%40luridarmawan%2Ftips-mengatasi-problem-lazarus-di-mojave-688d42a20820>

> (This also implies I was using CLT for 10.12 while under MacOS 10.13 but 
> I didn't check ...).

It looks like FPC 3.0.4a was released with compatibility changes for
macOS 10.14:

<https://forum.lazarus-ide.org/index.php?topic=42655.15>

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

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


Thread

Recover root/wheel password? briang@panix.com (Brian Gordon) - 2019-01-07 16:51 -0500
  Re: Recover root/wheel password? Alan Baker <nunya@ness.biz> - 2019-01-07 13:58 -0800
  Re: Recover root/wheel password? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-01-07 23:09 +0000
  Re: Recover root/wheel password? Jolly Roger <jollyroger@pobox.com> - 2019-01-08 01:45 +0000
    Re: Recover root/wheel password? Alan Browne <bitbucket@blackhole.com> - 2019-01-08 08:27 -0500
      Re: Recover root/wheel password? Jolly Roger <jollyroger@pobox.com> - 2019-01-08 14:06 +0000
        Re: Recover root/wheel password? Alan Browne <bitbucket@blackhole.com> - 2019-01-08 20:07 -0500
          Re: Recover root/wheel password? Jolly Roger <jollyroger@pobox.com> - 2019-01-09 20:30 +0000
            Re: Recover root/wheel password? Alan Browne <bitbucket@blackhole.com> - 2019-01-09 19:43 -0500
              Re: Recover root/wheel password? Alan Baker <nunya@ness.biz> - 2019-01-09 16:55 -0800
              Re: Recover root/wheel password? Jolly Roger <jollyroger@pobox.com> - 2019-01-10 02:13 +0000
                Re: Recover root/wheel password? Alan Browne <bitbucket@blackhole.com> - 2019-01-10 07:48 -0500
                Re: Recover root/wheel password? Jolly Roger <jollyroger@pobox.com> - 2019-01-10 17:34 +0000
      Re: Recover root/wheel password? Alan Baker <nunya@ness.biz> - 2019-01-08 11:34 -0800
      Re: Recover root/wheel password? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-01-08 22:12 +0000
        Re: Recover root/wheel password? Alan Browne <bitbucket@blackhole.com> - 2019-01-08 20:11 -0500
  Re: Recover root/wheel password? nospam <nospam@nospam.invalid> - 2019-01-07 23:42 -0500
    Re: Recover root/wheel password? briang@panix.com (Brian Gordon) - 2019-01-08 05:01 +0000
      Re: Recover root/wheel password? nospam <nospam@nospam.invalid> - 2019-01-08 00:43 -0500

csiph-web