Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FprintLog

Starting as service

  1. Build the application.

go build -o FprintLog

  1. Move compiled binary to local user folder and ensure it's executable.

mkdir -p ~/.local/bin && cp FprintLog ~/.local/bin && chmod +x ~/.local/bin/FprintLog

  1. Create user service to run FprintLog.

mkdir -p ~/.config/systemd/user

cat << 'EOF' > ~/.config/systemd/user/FprintLog.service
[Unit]
Description=keeping a log of failed and successful fingerprint events
After=graphical-session.target

[Service]
ExecStart=%h/.local/bin/FprintLog
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target
EOF
  1. Start the service.

systemctl --user daemon-reload && systemctl --user enable --now FprintLog.service

  1. Check it's running.

Status: systemctl --user status FprintLog.service

Live Log: journalctl --user -u FprintLog.service -f

Notes

this will also log failed authentications outside of login (e.g fprint being used for sudo)

About

Keeps a log of failed and successful fingerprint events (requires notify-send, made for linux system that doesn't allow notifications to be deleted from login screen)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages