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?

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Got an Apple Watch? Got a Mac? Got Sudo?
Date 20 Nov 2020 18:39:49 GMT
Organization People for the Ethical Treatment of Pirates
Lines 42
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>
X-Trace individual.net O6twKuEJ3aW6hxyZICo4Ngxv3ijkgNcEakwQnLQG2dhRu4aQY2
Cancel-Lock sha1:NAKzIdB3XeCEKjLaeiYfjpFOZhs=
X-No-Archive Yes
MMail-Copies-To nobody
X-Face _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1<n@LQ!aZ7vLO_nWbK~@T'XIS0,oAJcU.qLM dk/j8Udo?O"o9B9Jyx+ez2:B<nx(k3EdHnTvB]'eoVaR495,Rv~/vPa[e^JI+^h5Zk*i`Q;ezqDW< ZFs6kmAJWZjOH\8[$$7jm,Ogw3C_%QM'|H6nygNGhhl+@}n30Nz(^vWo@h>Y%b|b-Y~()~\t,LZ3e up1/bO{=-)
User-Agent slrn/1.0.3 (Darwin)
Xref csiph.com comp.sys.mac.system:135088

Show key headers only | 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