Skip to content

About

Block users from running your app with root permissions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gosudoblock

Godoc

Block users from running your app with root permissions

How to install

go get github.com/shamsher31/gosudoblock

How to use

package main

import (
  "fmt"
  "github.com/shamsher31/gosudoblock"
)

func main() {
   sudoblock.Is()
   // ✖ You are not allowed to run this app with root permissions
}

Related

goisroot
gosymbol
chalk

Why

This package is inspired by sudo-block npm module.

License

MIT © Shamsher Ansari

About

Block users from running your app with root permissions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址