root-check

v2.0.0
Try to downgrade the permissions of a process with root privileges and block access if it fails
sudo root user permissions uid block prevent stop downgrade and 4 more...

root-check

Try to downgrade the permissions of a process with root privileges and block access if it fails

Install

$ npm install root-check

Usage

import rootCheck from 'root-check';

rootCheck();

API

See the sudo-block API.

npm i root-check

Metadata

  • MIT
  • >=12
  • Sindre Sorhus
  • released 5/3/2021

Downloads

Maintainers