1.0.0 • Published 1 year ago

sudotouch v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

SudoTouch

The sudotouch package is a command line utility for enabling TouchID on macOS terminals. This package provides a convenient and efficient way to use biometric authentication for sudo commands, improving security and productivity for macOS users.

Installation

To install the package, run the following command:

npm install -g sudotouch

Prerequisites

  • macOS
  • Node.js installed
  • sudo privileges

Usage

To enable TouchID for sudo commands, simply run the following command in your terminal:

sudotouch

If TouchID is not already enabled, the package will automatically add the pam_tid.so authentication module to the sudo configuration file, and enable TouchID for sudo commands. If TouchID is already enabled, the package will print a message indicating that it is already enabled.

Note: This package requires sudo privileges to modify the sudo configuration file. You will be prompted to enter your password when running the sudotouch command.

License

This repository is released under the MIT License.