mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-20 22:00:23 -04:00
8e5eba8735
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
13 lines
404 B
Go
13 lines
404 B
Go
// +build !linux
|
|
|
|
package idtools
|
|
|
|
import "fmt"
|
|
|
|
// AddNamespaceRangesUser takes a name and finds an unused uid, gid pair
|
|
// and calls the appropriate helper function to add the group and then
|
|
// the user to the group in /etc/group and /etc/passwd respectively.
|
|
func AddNamespaceRangesUser(name string) (int, int, error) {
|
|
return -1, -1, fmt.Errorf("No support for adding users or groups on this OS")
|
|
}
|