Try to downgrade the permissions of a process with root privileges and block access if it fails
npm install root-checkimport rootCheck from 'root-check';
rootCheck();See the sudo-block API.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Try to downgrade the permissions of a process with root privileges and block access if it fails
npm install root-checkimport rootCheck from 'root-check';
rootCheck();See the sudo-block API.