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


Groups > comp.sys.mac.system > #122464 > unrolled thread

Mojave and backups

Started byxxx <xxx@yyy.zzz>
First post2019-02-28 14:23 -0500
Last post2019-03-01 12:16 +0000
Articles 20 on this page of 47 — 10 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Mojave and backups xxx <xxx@yyy.zzz> - 2019-02-28 14:23 -0500
    Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-02-28 14:28 -0500
      Re: Mojave and backups xxx <xxx@yyy.zzz> - 2019-02-28 18:27 -0500
        Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-02-28 20:22 -0500
    Re: Mojave and backups Panthera Tigris Altaica <northentiger@outlook.com> - 2019-02-28 14:39 -0500
      Re: Mojave and backups xxx <xxx@yyy.zzz> - 2019-02-28 18:16 -0500
        Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-02-28 20:22 -0500
          Re: Mojave and backups xxx <xxx@yyy.zzz> - 2019-02-28 21:11 -0500
            Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-02-28 21:32 -0500
            Re: Mojave and backups Panthera Tigris Altaica <northentiger@outlook.com> - 2019-03-01 09:33 -0500
              Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-03-01 09:57 -0500
                Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-01 21:27 +0000
                  Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-03-01 16:52 -0500
                    Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-02 18:13 +0000
                      Re: Mojave and backups ant@zimage.comANT (Ant) - 2019-03-02 18:40 -0600
        Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-01 15:20 +1300
          Re: Mojave and backups xxx <xxx@yyy.zzz> - 2019-02-28 21:33 -0500
            Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-01 16:11 +1300
              Re: Mojave and backups xxx <xxx@yyy.zzz> - 2019-02-28 23:00 -0500
          Re: Mojave and backups befr@eaglesoft.de (Bernd Fröhlich) - 2019-03-01 09:02 +0100
            Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-01 13:49 +0000
          Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-01 13:46 +0000
          Re: Mojave and backups Panthera Tigris Altaica <northentiger@outlook.com> - 2019-03-01 09:41 -0500
            Re: Mojave and backups nospam <nospam@nospam.invalid> - 2019-03-01 09:57 -0500
          Re: Mojave and backups Jolly Roger <jollyroger@pobox.com> - 2019-03-01 22:37 +0000
            Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-03 12:08 +1300
              Re: Mojave and backups JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-03-02 22:09 -0500
                Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-03 22:38 +1300
                  Re: Mojave and backups JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-03-03 04:58 -0500
                    Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-04 07:36 +1300
                      Re: Mojave and backups JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-03-04 03:41 -0500
                        Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-05 09:53 +1300
                          Re: Mojave and backups Jolly Roger <jollyroger@pobox.com> - 2019-03-05 17:32 +0000
                            Re: Mojave and backups dempson@actrix.gen.nz (David Empson) - 2019-03-06 09:30 +1300
                              Re: Mojave and backups Jolly Roger <jollyroger@pobox.com> - 2019-03-05 23:34 +0000
                                Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-06 00:47 +0000
                                  Re: Mojave and backups Jolly Roger <jollyroger@pobox.com> - 2019-03-06 16:40 +0000
                                    Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-06 17:52 +0000
                                      Re: Mojave and backups Jolly Roger <jollyroger@pobox.com> - 2019-03-06 18:11 +0000
                                        Re: Mojave and backups David in Devon <BDonTJ@REMOVE.gmail.com> - 2019-03-06 22:49 +0000
                                        Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-07 02:46 +0000
                                          Re: Mojave and backups David in Devon <BDonTJ@REMOVE.gmail.com> - 2019-03-07 08:04 +0000
                                        Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-09 21:34 +0000
                                          Re: Mojave and backups David in Devon <BDonTJ@REMOVE.gmail.com> - 2019-03-09 23:57 +0000
                  Re: Mojave and backups Jolly Roger <jollyroger@pobox.com> - 2019-03-04 01:14 +0000
        Re: Mojave and backups Panthera Tigris Altaica <northentiger@outlook.com> - 2019-03-01 09:18 -0500
    Re: Mojave and backups Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-03-01 12:16 +0000

Page 2 of 3 — ← Prev page 1 [2] 3  Next page →


#122487

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-03-01 13:49 +0000
Message-ID<slrnq7ie3m.2qga.g.kreme@Snow.local>
In reply to#122482
In message <1o3r50u.rno51z1ljsj40N%befr@eaglesoft.de> Bernd Fröhlich <befr@eaglesoft.de> wrote:
> David Empson <dempson@actrix.gen.nz> wrote:

>> I'm not aware of any way to use a home-grown backup solution like rsync
>> from a cron task or a LaunchAgent/LaunchDaemon because there is no
>> user-level application involved which can be granted Full Disk Access
>> permission.

> I have not tried this, but you should be able to use Platypus to bundle
> your script into an application and then grant access for that
> application.

I tried this with an AppleScript with a do shell script and didn't have
success, but I also didn't pursue it very far (at all).

-- 
Suddenly the animals look shiny and new

[toc] | [prev] | [next] | [standalone]


#122486

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-03-01 13:46 +0000
Message-ID<slrnq7idu8.2qga.g.kreme@Snow.local>
In reply to#122476
In message <1o3rjh2.y0mm501rnqy6wN%dempson@actrix.gen.nz> David Empson <dempson@actrix.gen.nz> wrote:
> The same restriction applies to whatever third party DVD burning
> application you are using to do backups. It cannot access ~/Library/Mail
> (for example) unless granted Full Disk Access permission.

And, depending on if the software has been properly updated for 10.14,
maybe not even then.

-- 
Vader means father in German.
Oh, you know German. Now I know why you don't like fun things.

[toc] | [prev] | [next] | [standalone]


#122490

FromPanthera Tigris Altaica <northentiger@outlook.com>
Date2019-03-01 09:41 -0500
Message-ID<q5bgak$k25$2@dont-email.me>
In reply to#122476
On 2019-02-28 21:20, David Empson wrote:
> xxx <xxx@yyy.zzz> wrote:
> 
>> On 2019-02-28 19:39:01 +0000, Panthera Tigris Altaica said:
>>
>>>> there are a large numer of errors that stop the process early on and
>>>> cause it to fail. Most involve permissions.
>>>
>>> This doesn't happen if your backup software is running using admin
>>> permissions.
>>
>>      That is what is SUPPOSED to happen. In fact, it does not work as it
>> should. That is true even when running rsync as root.
> 
> Mojave extended System Integrity Protection so that some user folders in
> ~/Library (such as Mail) are also protected. Only software with special
> permissions can access those areas.

Yes, exactly. If the backup software was not properly set up, it will 
not be able to touch certain items. Ever. Apple did this as a 'security' 
measure. I'm not sure that I agree with them, but it's there and it will 
block access to those items which don't have permission.

> 
> If you were running typical clone backups to hard drive using software
> like Carbon Copy Cloner or SuperDuper!, it is necessary to grant the
> cloning application "Full Disk Access" via System Preferences > Security
> & Privacy > Privacy (which updated versions of the software know about
> and either invoke a prompt so you can grant them permission, or they
> tell you where to find the settings).

And that is exactly how I set CCC on my home Mac.

> 
> The same restriction applies to whatever third party DVD burning
> application you are using to do backups. It cannot access ~/Library/Mail
> (for example) unless granted Full Disk Access permission.
> 
> rsync running as root is also restricted: attempting to access protected
> areas produces an "Operation not permitted" error.
> 
> You can't grant Full Disk Access to command line tools like rsync, only
> to applications (e.g. Terminal).

I think that you can grant FDA to rsync. It requires jumping through a 
lot of hoops, and after one look at the mess I didn't bother. A simpler 
way would be to turn SIP off. This is probably a bad idea, though.

> 
> I'm not aware of any way to use a home-grown backup solution like rsync
> from a cron task or a LaunchAgent/LaunchDaemon because there is no
> user-level application involved which can be granted Full Disk Access
> permission.
> 

[toc] | [prev] | [next] | [standalone]


#122492

Fromnospam <nospam@nospam.invalid>
Date2019-03-01 09:57 -0500
Message-ID<010320190957227920%nospam@nospam.invalid>
In reply to#122490
In article <q5bgak$k25$2@dont-email.me>, Panthera Tigris Altaica
<northentiger@outlook.com> wrote:

> > The same restriction applies to whatever third party DVD burning
> > application you are using to do backups. It cannot access ~/Library/Mail
> > (for example) unless granted Full Disk Access permission.
> > 
> > rsync running as root is also restricted: attempting to access protected
> > areas produces an "Operation not permitted" error.
> > 
> > You can't grant Full Disk Access to command line tools like rsync, only
> > to applications (e.g. Terminal).
> 
> I think that you can grant FDA to rsync. It requires jumping through a 
> lot of hoops, and after one look at the mess I didn't bother. A simpler 
> way would be to turn SIP off. This is probably a bad idea, though.

a simpler way is use an app designed for backing up. rsync is not that.

[toc] | [prev] | [next] | [standalone]


#122499

FromJolly Roger <jollyroger@pobox.com>
Date2019-03-01 22:37 +0000
Message-ID<gdtqhfF9scqU1@mid.individual.net>
In reply to#122476
On 2019-03-01, David Empson <dempson@actrix.gen.nz> wrote:
>
> I'm not aware of any way to use a home-grown backup solution like
> rsync from a cron task or a LaunchAgent/LaunchDaemon because there is
> no user-level application involved which can be granted Full Disk
> Access permission.

I've noticed you can indeed grant Full Disk Access to command-line
tools:

<https://i.imgur.com/s0FCYrtg.png>

<https://i.imgur.com/rslY9rag.png>

-- 
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

[toc] | [prev] | [next] | [standalone]


#122519

Fromdempson@actrix.gen.nz (David Empson)
Date2019-03-03 12:08 +1300
Message-ID<1o3uync.1q93c1e05noeN%dempson@actrix.gen.nz>
In reply to#122499
Jolly Roger <jollyroger@pobox.com> wrote:

> On 2019-03-01, David Empson <dempson@actrix.gen.nz> wrote:
> >
> > I'm not aware of any way to use a home-grown backup solution like
> > rsync from a cron task or a LaunchAgent/LaunchDaemon because there is
> > no user-level application involved which can be granted Full Disk
> > Access permission.
> 
> I've noticed you can indeed grant Full Disk Access to command-line
> tools:
> 
> <https://i.imgur.com/s0FCYrtg.png>
> 
> <https://i.imgur.com/rslY9rag.png>

Testing your specific examples (smbd and sshd):

1. Adding /usr/sbin/smbd to the Full Disk Access list does indeed grant
File Sharing clients access to protected folders like ~/Library/Mail.

2. Adding /usr/sbin/sshd to the Full Disk Access list does NOT grant SSH
clients access to protected folders.

On my system, I was able to access protected folders via SSH even
without adding sshd. There was an entry for
/usr/libexec/sshd-keygen-wrapper in my Full Disk Access list (which I
did NOT add) and checking or unchecking that does control the ability of
SSH clients (including variants like scp) to access protected folders. A
manually added entry for sshd has no effect on those permissions.

There is a detailed explanation of the SSH situation here:

https://eclecticlight.co/2018/11/12/who-put-that-in-my-full-disk-access-list-ssh-and-mojaves-privacy-protection/

It appears the sshd-keygen-wrapper entry is added automatically by the
system (and enabled) after you enable Remote Login AND someone logs in.
This seems a bizarre feature for Apple not to document properly.


Adding simple command line tools to Full Disk Access (not daemons) to
Full Disk Access does not help. For example, if in a Terminal window you
try to do

ls ~/Library/Mail

you get Operation not permitted", and adding /bin/ls to the Full Disk
Access list does not change that. You would need to add Terminal to the
Full Disk Access list (which grants full disk access to everything
launched by Terminal; changing this requires a relaunch of Terminal).

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#122524

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-03-02 22:09 -0500
Message-ID<szHeE.156583$hV4.17833@fx43.iad>
In reply to#122519
On 2019-03-02 18:08, David Empson wrote:

> 2. Adding /usr/sbin/sshd to the Full Disk Access list does NOT grant SSH
> clients access to protected folders.

That is normal. SSHD is teh deamon that accepts a connection and then
creates a shell process after you have logged in.  You'd need to add
bash to the Full Disk Access since that is what is running your command
line. (but then, applications such as "cp" "ls" would also need to be
added since they are not inside "bash".)

[toc] | [prev] | [next] | [standalone]


#122525

Fromdempson@actrix.gen.nz (David Empson)
Date2019-03-03 22:38 +1300
Message-ID<1o3vueo.qdfxiv1ehfvinN%dempson@actrix.gen.nz>
In reply to#122524
JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2019-03-02 18:08, David Empson wrote:
> 
> > 2. Adding /usr/sbin/sshd to the Full Disk Access list does NOT grant SSH
> > clients access to protected folders.
> 
> That is normal. SSHD is teh deamon that accepts a connection and then
> creates a shell process after you have logged in.  You'd need to add
> bash to the Full Disk Access since that is what is running your command
> line.

Try reading the rest of my post next time before leaping to a premature
conclusion. It might also help if you actually try something before
claiming it will work.

bash is not the correct process to add to the Full Disk Access list. I
tried it, defintely doesn't work.

You might _think_ it worked if you haven't understood the automatically
created entry for sshd-keygen-wrapper, which I described briefly in the
next few paragraphs of my previous post and linked to an article which
explains it in more detail.

> (but then, applications such as "cp" "ls" would also need to be
> added since they are not inside "bash".)

Nope, they are not the right ones either. And they are not
"applications".

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#122526

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-03-03 04:58 -0500
Message-ID<NyNeE.70679$rg.17099@fx35.iad>
In reply to#122525
On 2019-03-03 04:38, David Empson wrote:

> Try reading the rest of my post next time before leaping to a premature
> conclusion. 

I tried to explain why granting permission to sshd would not work since
that isn't the app you are in once you login (you run the shell where
input/output is piped to the ssh software)


>It might also help if you actually try something before
> claiming it will work.

I claimed it would NOT work.

> bash is not the correct process to add to the Full Disk Access list. I
> tried it, defintely doesn't work.

I also explained it would not work.


> Nope, they are not the right ones either. And they are not
> "applications".


cp and ls are applications. They are not part of the shell. They run as
a subprocess of bash.

ls /bin
[               dd              kill            mv              sh
       wait4path
bash            df              ksh             pax             sleep
       zsh
cat             domainname      launchctl       ps              stty
chmod           echo            link            pwd             sync
cp              ed              ln              rcp             tcsh
csh             expr            ls              rm              test
date            hostname        mkdir           rmdir           unlink

[toc] | [prev] | [next] | [standalone]


#122529

Fromdempson@actrix.gen.nz (David Empson)
Date2019-03-04 07:36 +1300
Message-ID<1o3wkon.1x1cbds1abuta9N%dempson@actrix.gen.nz>
In reply to#122526
JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2019-03-03 04:38, David Empson wrote:
> 
> > Try reading the rest of my post next time before leaping to a premature
> > conclusion. 
> 
> I tried to explain why granting permission to sshd would not work since
> that isn't the app you are in once you login (you run the shell where
> input/output is piped to the ssh software)
> 
> 
> >It might also help if you actually try something before
> > claiming it will work.
> 
> I claimed it would NOT work.

No you didn't.

> > bash is not the correct process to add to the Full Disk Access list. I
> > tried it, defintely doesn't work.
> 
> I also explained it would not work.

No you didn't. Here is what you wrote. Nowhere do you say that this set
of things will _not_ work. It reads as if you are suggesting it as the
correct solution.

JF Mezei wrote:
> >> You'd need to add bash to the Full Disk Access since that is what is
> >> running your command line. (but then, applications such as "cp" "ls"
> >> would also need to be added since they are not inside "bash".)

> > Nope, they are not the right ones either. And they are not
> > "applications".
> 
> 
> cp and ls are applications. They are not part of the shell. They run as
> a subprocess of bash.

I know that. It doesn't make them "applications". That word has a
specific meaning in the context of macOS.

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#122535

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-03-04 03:41 -0500
Message-ID<mx5fE.28013$ck.21117@fx21.iad>
In reply to#122529
On 2019-03-03 13:36, David Empson wrote:

> No you didn't. Here is what you wrote. Nowhere do you say that this set
> of things will _not_ work. It reads as if you are suggesting it as the
> correct solution.

I was responding to the suggestion made by someone else that sshd should
be enabled as app.
Suggested that once you are logged in, it is bash that you are running,
not sshd.

Then continued by stating that when you run a command, it isn't bash
running but that command in a separate process.

> I know that. It doesn't make them "applications". That word has a
> specific meaning in the context of macOS.


How come sshd would be considered an application (since the suggestion
had been made to enable it as application) and "cp" wouldn't be ?

[toc] | [prev] | [next] | [standalone]


#122539

Fromdempson@actrix.gen.nz (David Empson)
Date2019-03-05 09:53 +1300
Message-ID<1o3yl6e.13p4lrtezti76N%dempson@actrix.gen.nz>
In reply to#122535
JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2019-03-03 13:36, David Empson wrote:
> 
> > No you didn't. Here is what you wrote. Nowhere do you say that this set
> > of things will _not_ work. It reads as if you are suggesting it as the
> > correct solution.
> 
> I was responding to the suggestion made by someone else that sshd should
> be enabled as app.

No you didn't. You did a followup to my post, in which I was replying to
Jolly Roger's post which showed (via an image) that he had SSHD enabled
for Full Disk Access. I was explaining that didn't actually achieve
anything and went on to explain how the system handles SIP permissions
for SSH clients.

You jumped in after the first paragraph in that section of my post
(before I got to the details for the correction) and posted incorrect
instructions.

If you actually bothered to read (I know, vain hope) and you quoted
posts properly or at least read back in the thread to check, rather than
relying on your own faulty memory and lack of attention, you might get
fewer negative reactions around here.

As it is, you have exhasuted my pateience and you can go back into my
kill file.

> Suggested that once you are logged in, it is bash that you are running,
> not sshd.
> 
> Then continued by stating that when you run a command, it isn't bash
> running but that command in a separate process.

None of which is relevant to how SIP permissions are handled for SSH
clients because those are NOT the things which need to be added to Full
Disk Access.

> > I know that. It doesn't make them "applications". That word has a
> > specific meaning in the context of macOS.
> 
> How come sshd would be considered an application (since the suggestion
> had been made to enable it as application) and "cp" wouldn't be ?

I see from looking in System Preferences that Apple has overloaded the
word "apps" again.

The things that can be added to the Full Disk Access list are not just
applications. You can also add UNIX executable files to the list, but
for most of them that won't achieve anything because the system has
rules for finding the responsible process. (e.g. smbd and
sshd-keygen-wrapper work, but bash and cp don't).

-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#122541

FromJolly Roger <jollyroger@pobox.com>
Date2019-03-05 17:32 +0000
Message-ID<ge7q5kFfsjoU1@mid.individual.net>
In reply to#122539
On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
>
>> On 2019-03-03 13:36, David Empson wrote:
>> 
>> > No you didn't. Here is what you wrote. Nowhere do you say that this set
>> > of things will _not_ work. It reads as if you are suggesting it as the
>> > correct solution.
>> 
>> I was responding to the suggestion made by someone else that sshd should
>> be enabled as app.
>
> No you didn't. You did a followup to my post, in which I was replying to
> Jolly Roger's post which showed (via an image) that he had SSHD enabled
> for Full Disk Access. I was explaining that didn't actually achieve
> anything and went on to explain how the system handles SIP permissions
> for SSH clients.

Yes, and please note I did not interactively add the entry for sshd (or
the one for smbd). IIRC, you surmised those get added by the system
automatically.

Thanks again for looking into it deeper and for the detailed
explanation.

-- 
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

[toc] | [prev] | [next] | [standalone]


#122544

Fromdempson@actrix.gen.nz (David Empson)
Date2019-03-06 09:30 +1300
Message-ID<1o40et8.1w228t2103zxqbN%dempson@actrix.gen.nz>
In reply to#122541
Jolly Roger <jollyroger@pobox.com> wrote:

> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
> > [...] I was replying to Jolly Roger's post which showed (via an image)
> > that he had SSHD enabled for Full Disk Access. I was explaining that
> > didn't actually achieve anything and went on to explain how the system
> > handles SIP permissions for SSH clients.
> 
> Yes, and please note I did not interactively add the entry for sshd (or
> the one for smbd). IIRC, you surmised those get added by the system
> automatically.

Testing again, the act of turning on Sharing > Remote Login causes sshd
entry to be added to the Full Disk Access list at the same time, and
turning on Sharing > File Sharing does the same for smbd.

I didn't have either entry to start with, despite having both those
features enabled. It turns out that the Full Disk Access entries for
sshd and smbd do NOT get added when upgrading to Mojave with those
features already enabled (therefore creating a potentially confusing
point of difference in system behaviour if someone is not aware of Full
Disk Access). Turning the features off and on again fixes it.

It is unclear whether the sshd entry achieves anything: it may be a
leftover from earlier code. As noted earlier, unchecked sshd in the Full
Disk Access list does not block SSH clients from accessing protected
areas.

The sshd-keygen-helper entry (which is the one that actually controls
protected access for SSH clients) appeared automatically when I did the
first SSH connection while running Mojave (using SCP on this occasion
just to be a point of minor difference).

> Thanks again for looking into it deeper and for the detailed
> explanation.

You're welcome.
-- 
David Empson
dempson@actrix.gen.nz

[toc] | [prev] | [next] | [standalone]


#122547

FromJolly Roger <jollyroger@pobox.com>
Date2019-03-05 23:34 +0000
Message-ID<ge8fc7FkeurU1@mid.individual.net>
In reply to#122544
On 2019-03-05, David Empson <dempson@actrix.gen.nz> wrote:
> Jolly Roger <jollyroger@pobox.com> wrote:
>
>> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
>> > [...] I was replying to Jolly Roger's post which showed (via an image)
>> > that he had SSHD enabled for Full Disk Access. I was explaining that
>> > didn't actually achieve anything and went on to explain how the system
>> > handles SIP permissions for SSH clients.
>> 
>> Yes, and please note I did not interactively add the entry for sshd (or
>> the one for smbd). IIRC, you surmised those get added by the system
>> automatically.
>
> Testing again, the act of turning on Sharing > Remote Login causes sshd
> entry to be added to the Full Disk Access list at the same time, and
> turning on Sharing > File Sharing does the same for smbd.
>
> I didn't have either entry to start with, despite having both those
> features enabled. It turns out that the Full Disk Access entries for
> sshd and smbd do NOT get added when upgrading to Mojave with those
> features already enabled (therefore creating a potentially confusing
> point of difference in system behaviour if someone is not aware of Full
> Disk Access). Turning the features off and on again fixes it.

Aha! Thanks for this. I was wondering why another system here doesn't
have those entries even with those services enabled!

> It is unclear whether the sshd entry achieves anything: it may be a
> leftover from earlier code. As noted earlier, unchecked sshd in the Full
> Disk Access list does not block SSH clients from accessing protected
> areas.
>
> The sshd-keygen-helper entry (which is the one that actually controls
> protected access for SSH clients) appeared automatically when I did the
> first SSH connection while running Mojave (using SCP on this occasion
> just to be a point of minor difference).

I don't see an sshd-keygen-helper entry, even though I regularly connect
to this machine over SSH. Peculiar.

-- 
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

[toc] | [prev] | [next] | [standalone]


#122548

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-03-06 00:47 +0000
Message-ID<slrnq7u64h.22kr.g.kreme@jaka.local>
In reply to#122547
In message <ge8fc7FkeurU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
> On 2019-03-05, David Empson <dempson@actrix.gen.nz> wrote:
>> Jolly Roger <jollyroger@pobox.com> wrote:
>>
>>> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
>>> > [...] I was replying to Jolly Roger's post which showed (via an image)
>>> > that he had SSHD enabled for Full Disk Access. I was explaining that
>>> > didn't actually achieve anything and went on to explain how the system
>>> > handles SIP permissions for SSH clients.
>>> 
>>> Yes, and please note I did not interactively add the entry for sshd (or
>>> the one for smbd). IIRC, you surmised those get added by the system
>>> automatically.
>>
>> Testing again, the act of turning on Sharing > Remote Login causes sshd
>> entry to be added to the Full Disk Access list at the same time, and
>> turning on Sharing > File Sharing does the same for smbd.
>>
>> I didn't have either entry to start with, despite having both those
>> features enabled. It turns out that the Full Disk Access entries for
>> sshd and smbd do NOT get added when upgrading to Mojave with those
>> features already enabled (therefore creating a potentially confusing
>> point of difference in system behaviour if someone is not aware of Full
>> Disk Access). Turning the features off and on again fixes it.

> Aha! Thanks for this. I was wondering why another system here doesn't
> have those entries even with those services enabled!

>> It is unclear whether the sshd entry achieves anything: it may be a
>> leftover from earlier code. As noted earlier, unchecked sshd in the Full
>> Disk Access list does not block SSH clients from accessing protected
>> areas.
>>
>> The sshd-keygen-helper entry (which is the one that actually controls
>> protected access for SSH clients) appeared automatically when I did the
>> first SSH connection while running Mojave (using SCP on this occasion
>> just to be a point of minor difference).

> I don't see an sshd-keygen-helper entry, even though I regularly connect
> to this machine over SSH. Peculiar.

That is odd. It's front and center (and top) on my system.

<https://www.dropbox.com/s/unis7mn0nie4xq7/Screenshot%202019-03-05%2017.46.11.png?dl=0>


-- 
Mos Eisley spaceport. You will never find a more wretched hive of scum
and villainy. We must be cautious.

[toc] | [prev] | [next] | [standalone]


#122555

FromJolly Roger <jollyroger@pobox.com>
Date2019-03-06 16:40 +0000
Message-ID<geabg6F46vbU1@mid.individual.net>
In reply to#122548
On 2019-03-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> In message <ge8fc7FkeurU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
>> On 2019-03-05, David Empson <dempson@actrix.gen.nz> wrote:
>>> Jolly Roger <jollyroger@pobox.com> wrote:
>>>
>>>> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
>>>> > [...] I was replying to Jolly Roger's post which showed (via an image)
>>>> > that he had SSHD enabled for Full Disk Access. I was explaining that
>>>> > didn't actually achieve anything and went on to explain how the system
>>>> > handles SIP permissions for SSH clients.
>>>> 
>>>> Yes, and please note I did not interactively add the entry for sshd (or
>>>> the one for smbd). IIRC, you surmised those get added by the system
>>>> automatically.
>>>
>>> Testing again, the act of turning on Sharing > Remote Login causes sshd
>>> entry to be added to the Full Disk Access list at the same time, and
>>> turning on Sharing > File Sharing does the same for smbd.
>>>
>>> I didn't have either entry to start with, despite having both those
>>> features enabled. It turns out that the Full Disk Access entries for
>>> sshd and smbd do NOT get added when upgrading to Mojave with those
>>> features already enabled (therefore creating a potentially confusing
>>> point of difference in system behaviour if someone is not aware of Full
>>> Disk Access). Turning the features off and on again fixes it.
>
>> Aha! Thanks for this. I was wondering why another system here doesn't
>> have those entries even with those services enabled!
>
>>> It is unclear whether the sshd entry achieves anything: it may be a
>>> leftover from earlier code. As noted earlier, unchecked sshd in the Full
>>> Disk Access list does not block SSH clients from accessing protected
>>> areas.
>>>
>>> The sshd-keygen-helper entry (which is the one that actually controls
>>> protected access for SSH clients) appeared automatically when I did the
>>> first SSH connection while running Mojave (using SCP on this occasion
>>> just to be a point of minor difference).
>
>> I don't see an sshd-keygen-helper entry, even though I regularly connect
>> to this machine over SSH. Peculiar.
>
> That is odd. It's front and center (and top) on my system.
>
><https://www.dropbox.com/s/unis7mn0nie4xq7/Screenshot%202019-03-05%2017.46.11.png?dl=0>

Your image link doesn't work.

Yep - strange:

<https://i.imgur.com/e5KHIMfg.png>

-- 
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

[toc] | [prev] | [next] | [standalone]


#122556

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-03-06 17:52 +0000
Message-ID<slrnq80262.ml2.g.kreme@Snow.local>
In reply to#122555
In message <geabg6F46vbU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
> On 2019-03-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>> In message <ge8fc7FkeurU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
>>> On 2019-03-05, David Empson <dempson@actrix.gen.nz> wrote:
>>>> Jolly Roger <jollyroger@pobox.com> wrote:
>>>>
>>>>> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
>>>>> > [...] I was replying to Jolly Roger's post which showed (via an image)
>>>>> > that he had SSHD enabled for Full Disk Access. I was explaining that
>>>>> > didn't actually achieve anything and went on to explain how the system
>>>>> > handles SIP permissions for SSH clients.
>>>>> 
>>>>> Yes, and please note I did not interactively add the entry for sshd (or
>>>>> the one for smbd). IIRC, you surmised those get added by the system
>>>>> automatically.
>>>>
>>>> Testing again, the act of turning on Sharing > Remote Login causes sshd
>>>> entry to be added to the Full Disk Access list at the same time, and
>>>> turning on Sharing > File Sharing does the same for smbd.
>>>>
>>>> I didn't have either entry to start with, despite having both those
>>>> features enabled. It turns out that the Full Disk Access entries for
>>>> sshd and smbd do NOT get added when upgrading to Mojave with those
>>>> features already enabled (therefore creating a potentially confusing
>>>> point of difference in system behaviour if someone is not aware of Full
>>>> Disk Access). Turning the features off and on again fixes it.
>>
>>> Aha! Thanks for this. I was wondering why another system here doesn't
>>> have those entries even with those services enabled!
>>
>>>> It is unclear whether the sshd entry achieves anything: it may be a
>>>> leftover from earlier code. As noted earlier, unchecked sshd in the Full
>>>> Disk Access list does not block SSH clients from accessing protected
>>>> areas.
>>>>
>>>> The sshd-keygen-helper entry (which is the one that actually controls
>>>> protected access for SSH clients) appeared automatically when I did the
>>>> first SSH connection while running Mojave (using SCP on this occasion
>>>> just to be a point of minor difference).
>>
>>> I don't see an sshd-keygen-helper entry, even though I regularly connect
>>> to this machine over SSH. Peculiar.
>>
>> That is odd. It's front and center (and top) on my system.
>>
>><https://www.dropbox.com/s/unis7mn0nie4xq7/Screenshot%202019-03-05%2017.46.11.png?dl=0>

> Your image link doesn't work.

Sorry, Stalkerboi left comments on it, so I deleted it.

-- 
One tequila, two tequila, three tequila, floor.

[toc] | [prev] | [next] | [standalone]


#122557

FromJolly Roger <jollyroger@pobox.com>
Date2019-03-06 18:11 +0000
Message-ID<geagq3F5btnU1@mid.individual.net>
In reply to#122556
On 2019-03-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> In message <geabg6F46vbU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
>> On 2019-03-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>>> In message <ge8fc7FkeurU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
>>>> On 2019-03-05, David Empson <dempson@actrix.gen.nz> wrote:
>>>>> Jolly Roger <jollyroger@pobox.com> wrote:
>>>>>
>>>>>> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
>>>>>> > [...] I was replying to Jolly Roger's post which showed (via an image)
>>>>>> > that he had SSHD enabled for Full Disk Access. I was explaining that
>>>>>> > didn't actually achieve anything and went on to explain how the system
>>>>>> > handles SIP permissions for SSH clients.
>>>>>> 
>>>>>> Yes, and please note I did not interactively add the entry for sshd (or
>>>>>> the one for smbd). IIRC, you surmised those get added by the system
>>>>>> automatically.
>>>>>
>>>>> Testing again, the act of turning on Sharing > Remote Login causes sshd
>>>>> entry to be added to the Full Disk Access list at the same time, and
>>>>> turning on Sharing > File Sharing does the same for smbd.
>>>>>
>>>>> I didn't have either entry to start with, despite having both those
>>>>> features enabled. It turns out that the Full Disk Access entries for
>>>>> sshd and smbd do NOT get added when upgrading to Mojave with those
>>>>> features already enabled (therefore creating a potentially confusing
>>>>> point of difference in system behaviour if someone is not aware of Full
>>>>> Disk Access). Turning the features off and on again fixes it.
>>>
>>>> Aha! Thanks for this. I was wondering why another system here doesn't
>>>> have those entries even with those services enabled!
>>>
>>>>> It is unclear whether the sshd entry achieves anything: it may be a
>>>>> leftover from earlier code. As noted earlier, unchecked sshd in the Full
>>>>> Disk Access list does not block SSH clients from accessing protected
>>>>> areas.
>>>>>
>>>>> The sshd-keygen-helper entry (which is the one that actually controls
>>>>> protected access for SSH clients) appeared automatically when I did the
>>>>> first SSH connection while running Mojave (using SCP on this occasion
>>>>> just to be a point of minor difference).
>>>
>>>> I don't see an sshd-keygen-helper entry, even though I regularly connect
>>>> to this machine over SSH. Peculiar.
>>>
>>> That is odd. It's front and center (and top) on my system.
>>>
>>><https://www.dropbox.com/s/unis7mn0nie4xq7/Screenshot%202019-03-05%2017.46.11.png?dl=0>
>
>> Your image link doesn't work.
>
> Sorry, Stalkerboi left comments on it, so I deleted it.

Wow... Stalker indeed. I didn't know you could even leave comments on
DropBox items.

-- 
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

[toc] | [prev] | [next] | [standalone]


#122560

FromDavid in Devon <BDonTJ@REMOVE.gmail.com>
Date2019-03-06 22:49 +0000
Message-ID<S7YfE.162577$v41.55296@fx25.fr7>
In reply to#122557
On 06/03/2019 18:11, Jolly Roger wrote:
> On 2019-03-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>> In message <geabg6F46vbU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
>>> On 2019-03-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>>>> In message <ge8fc7FkeurU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
>>>>> On 2019-03-05, David Empson <dempson@actrix.gen.nz> wrote:
>>>>>> Jolly Roger <jollyroger@pobox.com> wrote:
>>>>>>
>>>>>>> On 2019-03-04, David Empson <dempson@actrix.gen.nz> wrote:
>>>>>>>> [...] I was replying to Jolly Roger's post which showed (via an image)
>>>>>>>> that he had SSHD enabled for Full Disk Access. I was explaining that
>>>>>>>> didn't actually achieve anything and went on to explain how the system
>>>>>>>> handles SIP permissions for SSH clients.
>>>>>>>
>>>>>>> Yes, and please note I did not interactively add the entry for sshd (or
>>>>>>> the one for smbd). IIRC, you surmised those get added by the system
>>>>>>> automatically.
>>>>>>
>>>>>> Testing again, the act of turning on Sharing > Remote Login causes sshd
>>>>>> entry to be added to the Full Disk Access list at the same time, and
>>>>>> turning on Sharing > File Sharing does the same for smbd.
>>>>>>
>>>>>> I didn't have either entry to start with, despite having both those
>>>>>> features enabled. It turns out that the Full Disk Access entries for
>>>>>> sshd and smbd do NOT get added when upgrading to Mojave with those
>>>>>> features already enabled (therefore creating a potentially confusing
>>>>>> point of difference in system behaviour if someone is not aware of Full
>>>>>> Disk Access). Turning the features off and on again fixes it.
>>>>
>>>>> Aha! Thanks for this. I was wondering why another system here doesn't
>>>>> have those entries even with those services enabled!
>>>>
>>>>>> It is unclear whether the sshd entry achieves anything: it may be a
>>>>>> leftover from earlier code. As noted earlier, unchecked sshd in the Full
>>>>>> Disk Access list does not block SSH clients from accessing protected
>>>>>> areas.
>>>>>>
>>>>>> The sshd-keygen-helper entry (which is the one that actually controls
>>>>>> protected access for SSH clients) appeared automatically when I did the
>>>>>> first SSH connection while running Mojave (using SCP on this occasion
>>>>>> just to be a point of minor difference).
>>>>
>>>>> I don't see an sshd-keygen-helper entry, even though I regularly connect
>>>>> to this machine over SSH. Peculiar.
>>>>
>>>> That is odd. It's front and center (and top) on my system.
>>>>
>>>> <https://www.dropbox.com/s/unis7mn0nie4xq7/Screenshot%202019-03-05%2017.46.11.png?dl=0>
>>
>>> Your image link doesn't work.
>>
>> Sorry, Stalkerboi left comments on it, so I deleted it.
> 
> Wow... Stalker indeed. I didn't know you could even leave comments on
> DropBox items.


I simply mentioned that his padlock was 'open' - just as YOURS is! ;-)

-- 
David B.
Devon, UK

[toc] | [prev] | [next] | [standalone]


Page 2 of 3 — ← Prev page 1 [2] 3  Next page →

Back to top | Article view | comp.sys.mac.system


csiph-web