root-check
Try to downgrade the permissions of a process with root privileges and block access if it fails
Last updated 6 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install root-check 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.0.0                                ...           latest (6 years ago)

2 Versions

  • 2.0.0                                ...           6 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 9
Today 0
This Week 2
This Month 6
Last Day 2
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE