mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Running processes with exec as nobody
This commit is contained in:
@@ -119,7 +119,7 @@ func (d *ExecDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
||||
TaskResources: task.Resources,
|
||||
ResourceLimits: true,
|
||||
FSIsolation: true,
|
||||
UnprivilegedUser: false,
|
||||
UnprivilegedUser: true,
|
||||
}
|
||||
ps, err := exec.LaunchCmd(&executor.ExecCommand{Cmd: command, Args: driverConfig.Args}, executorCtx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user