Skip to content

nfinit3/sudotouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passworth cli NPM Libraries.io dependency status for latest release GitHub commit activity GitHub repo size npm

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.