Tips Archive

Enabling fingerprint scanner on ThinkPad running Ubuntu Hardy in four steps


Install the ThinkFinger utilities and the relative PAM module:

~$ sudo apt-get install thinkfinger-tools libpam-thinkfinger

Acquire and test your fingerprint:

~$ sudo tf-tool –acquire
~$ sudo tf-tool –verify

Enable the PAM module:

~$ sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable

Enjoy
Resources
- wiki.ubuntu.com/ThinkFinger
- Bug #203973 in thinkfinger (Ubuntu)

Execute commands on folder and files containing spaces


On Linux or Unix systems perform recursively a command on items might contain white space, quote marks, or backslashes can be a problem when using find | xargs combination.
To solve this you may use:
find -type d -print0 | xargs -0 <command>
find -type f -print0 | xargs -0 <command>
For example to fix recursively permission:
find -type d [...]