package main
import (
"log"
"syscall"
)
func main() {
setuidErr := syscall.Setuid(0)
if setuidErr != nil {
log.Fatal(setuidErr)
}
}
When I run above code, I get the following error:
operation not supported
exit status 1
go version: 1.15.5
Can anyone help me?