Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.system Subject: Re: Mojave and backups Date: 5 Mar 2019 23:34:31 GMT Organization: People for the Ethical Treatment of Pirates Lines: 45 Message-ID: References: <1o3rjh2.y0mm501rnqy6wN%dempson@actrix.gen.nz> <1o3uync.1q93c1e05noeN%dempson@actrix.gen.nz> <1o3vueo.qdfxiv1ehfvinN%dempson@actrix.gen.nz> <1o3wkon.1x1cbds1abuta9N%dempson@actrix.gen.nz> <1o3yl6e.13p4lrtezti76N%dempson@actrix.gen.nz> <1o40et8.1w228t2103zxqbN%dempson@actrix.gen.nz> X-Trace: individual.net n0OppgwPtbCA+Ahzv7BweAX+fPXLB1Z3NiaioJMWojy46/qsEL Cancel-Lock: sha1:htDAERco1a6yzOXMVMIk3uR41fE= X-No-Archive: Yes MMail-Copies-To: nobody X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1Y%b|b-Y~()~\t,LZ3e up1/bO{=-) User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.system:122547 On 2019-03-05, David Empson wrote: > Jolly Roger wrote: > >> On 2019-03-04, David Empson 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