delegate-control-group-to 1 user commands nosh
delegate-control-group-to delegate control over the process current control group to an(other) account
`delegate-control-group-to` owner

## Description

`delegate-control-group-to` delegates control over the current process' single (relevant) control group to owner. Generally this requires superuser permissions.

On platforms where `/proc/self/cgroup` does not exist, this command is a no-op for script compatibility. Otherwise, that file is searched for a control group record with a blank controller field or (failing that) with a `name=systemd` controller field.

If a record of the former type is found, version 2 control groups are assumed with the single control group hierarchy rooted at `/sys/fs/cgroup`. If a record of the latter type is found, version 1 control groups are assumed with the relevant control group hierarchy (the only one that is affected by the command) rooted at `/sys/fs/cgroup/systemd`.

## See also

- create-control-group 1

- move-to-control-group 1

- set-control-group-knob 1

## Author

Jonathan de Boyne Pollard