Skip to content

shamsher31/gosudoblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages