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


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

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

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Got an Apple Watch? Got a Mac? Got Sudo?
Date 2020-11-20 18:39 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <i1qgrlFou06U1@mid.individual.net> (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


On 2020-11-20, 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"
>
> I'm still seeing the password prompt, even in new shells. 

Scratch that. Forgot to unlock my watch after putting it on for testing.
Silly me... : D

> Hmmm... Is a service/computer restart required?
>
>> (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.

Tries it. Works great.

Thanks again, Lewis. : )

-- 
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 | NextPrevious in thread | Next 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