package usergroup

import "github.com/dotcloud/docker/internal/usergroup"

Index

Constants

const (
	ContainerAdministratorSidString = "S-1-5-93-2-1"
	ContainerUserSidString          = "S-1-5-93-2-2"
)
const (
	SeTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege"
)

Functions

func AddNamespaceRangesUser

func AddNamespaceRangesUser(name string) (int, int, error)

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.

Source Files

add_unsupported.go const_windows.go parser.go

Version
v28.0.2+incompatible
Published
Mar 18, 2025
Platform
windows/amd64
Imports
2 packages
Last checked
23 minutes ago

Tools for package owners.