Running processes with exec as nobody

This commit is contained in:
Diptanu Choudhury
2016-02-04 17:49:47 -08:00
parent d8ed2949cd
commit dcd171a320

View File

@@ -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 {