#!/bin/bash USERNAME=$1 if [ x$USERNAME = x ]; then echo "usage: ./fingerauth username" exit 0 fi tf-tool --add-user $USERNAME #gpasswd -a $USERNAME fingerprint chown $USERNAME:root /etc/pam_thinkfinger/$USERNAME.bir chmod 400 /etc/pam_thinkfinger/$USERNAME.bir