Skip to content

Commit

Permalink
Automate enabling fingerprint auth
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzheiber committed Oct 20, 2024
1 parent f918480 commit d62c91c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,7 @@ git pull origin paperclip

#### sudo with fingerprint authentication

Add a fingerprint in the GNOME user account management settings. Then:

```console
sudo pam-auth-update
```

and select "Fingerprint authentication" in addition to the rest of the already selected methods.
Add a fingerprint in the GNOME user account management settings.

#### Firefox

Expand Down
5 changes: 5 additions & 0 deletions mitamae/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,8 @@
service 'bluetooth' do
action :nothing
end

execute 'enable fingerprint auth' do
command 'pam-auth-update --enable fprintd'
not_if 'grep -q fprintd /etc/pam.d/common-auth'
end

0 comments on commit d62c91c

Please sign in to comment.