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


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

Re: Got an Apple Watch? Got a Mac? Got Sudo?

From Lewis <g.kreme@kreme.dont-email.me>
Newsgroups comp.sys.mac.system
Subject Re: Got an Apple Watch? Got a Mac? Got Sudo?
Date 2020-11-20 21:35 +0000
Organization Miskatonic U
Message-ID <slrnrrgdkl.14g6.g.kreme@ProMini.lan> (permalink)
References <slrnrrfrpa.dag.g.kreme@ProMini.lan> <FUStH.4406$5J3.1824@fx09.iad> <slrnrrfvlt.dag.g.kreme@ProMini.lan> <i1qfasFoiokU1@mid.individual.net>

Show all headers | View raw


In message <i1qfasFoiokU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
> On 2020-11-20, Lewis <g.kreme@kreme.dont-email.me> wrote:
>>
>> If you have an Apple Watch many authorizations from you mac can be
>> confirmed by tapping oyur watch's side button instead of typing in
>> your password. Things like unlocking System preferences, deleting apps
>> from the Application folder, etc.
>>
>> This adds invoking sudo from the command line to that list.

> I just installed it and added this line to /etc/pam.d/sudo:

>   auth sufficient pam_watchid.so "reason=execute a command as root"

The quoted part is just for the logs, I don't think it's required.

> I'm still seeing the password prompt, even in new shells. 

> Hmmm... Is a service/computer restart required?

I don't think so, but I did reboot after that because I installed some
Rogue Amoeba app and that required a restart, so maybe?

>> (If you have a touchID Mac, there is a similar process to enable sudo on
>> those, but it does not require downloading anything, simply editing the
>> /etc/pam/sudo file, IIRC. I don't have a touchID mac, so I've not looked
>> into it.)

> From what I've read, adding this line enables Touch ID for sudo
> operations:

>   auth sufficient pam_tid.so

> I haven't tried this yet on my MacBook Pro.

Yes, that looks right. I am unlikely to have a new MBP with touchID
anytime soon, however.


-- 
Windle shook his head sadly. Five exclamation marks, the sure sign of
	an insane mind. --Reaper Man

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Find similar


Thread

Got an Apple Watch? Got a Mac? Got Sudo? Lewis <g.kreme@kreme.dont-email.me> - 2020-11-20 16:30 +0000
  Re: Got an Apple Watch? Got a Mac? Got Sudo? Jolly Roger <jollyroger@pobox.com> - 2020-11-20 17:04 +0000
  Re: Got an Apple Watch? Got a Mac? Got Sudo? Alan Browne <bitbucket@blackhole.com> - 2020-11-20 12:19 -0500
    Re: Got an Apple Watch? Got a Mac? Got Sudo? Lewis <g.kreme@kreme.dont-email.me> - 2020-11-20 17:37 +0000
      Re: Got an Apple Watch? Got a Mac? Got Sudo? Jolly Roger <jollyroger@pobox.com> - 2020-11-20 18:13 +0000
        Re: Got an Apple Watch? Got a Mac? Got Sudo? Jolly Roger <jollyroger@pobox.com> - 2020-11-20 18:39 +0000
        Re: Got an Apple Watch? Got a Mac? Got Sudo? Lewis <g.kreme@kreme.dont-email.me> - 2020-11-20 21:35 +0000

csiph-web