superuser_plugin_unix 3.0.0%2B1

SDKflutter
Platformlinuxmacos

Detect, verify user who execute Flutter program has superuser role in UNIX

Superuser detection for UNIX system.

UNIX's C API implementation of detecting superuser.

Conditions

Property name in SuperuserInterface

Conditions of returning true

isSuperuserA program is executed by a user who is root or a group member that can call sudo command
isActivatedA program is executed under root identity

License

BSD-3