JSPM

sudotouch

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q18831F
  • License MIT

The sudotouch package is a 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.

Package Exports

  • sudotouch
  • sudotouch/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sudotouch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.