superuser 2.0.0-m.1
superuser: ^2.0.0-m.1 copied to clipboard
Detect, verify user who execute Flutter program has superuser role and running with superuser permission.
2.0.0-m.1 #
isSuperusercan returns true without superuser permission activated.- Windows: Uses
NetUserGetLocalGroupsto find current user is a member ofAdministrators. - UNIX: Determine user joined default
sudocommand enabled groups (adminin macOS,sudoin Linux).
- Windows: Uses
1.0.2 #
- Add assertion to prevent using mock interface in release mode.
1.0.1 #
- Resolve lower score due to violation of formatting
- Provide
SuperuserProcessErrorfor catching error when fetching from plugin.
1.0.0 #
- Add error handling
- Integrate instance managing feature into
SuperuserInstance - Improve effience of memory allocation in Windows platform.
- Remove
MockSuperuserrestriction and mark as constant.
0.1.1 #
- Exclude
SuperuserInterfaceinsuperuserlibrary. - Append
ffiin pubspec topic.
0.1.0 #
- New feature
- Detect user has superuser role
- Determine a Flutter program executed under superuser role
whoamicommand: Retrive current username who responsible of executing this program.