blob: c0b297026aced286622a38a245fed31dd3743491 [file] [log] [blame]
Robert Kroegerdd07b362014-09-18 17:34:42 -07001package main
2
3// suidhelper should be installed setuid root. Having done this, it will
4// run the provided command as the specified user identity.
5// suidhelper deliberately attempts to be as simple as possible to
6// simplify reviewing it for security concerns.
7
8import (
9 "flag"
10 "os"
11
12 "veyron.io/veyron/veyron/services/mgmt/suidhelper/impl"
13)
14
15func main() {
16 flag.Parse()
17 if err := impl.Run(os.Environ()); err != nil {
18 flag.Usage()
19 }
20}