Execute command with a different group ID; can spawn an interactive shell.
sg sg Sandbox: execFile · Timeout: 30s
security.privilege-escalation.shell Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | none |
| Disk I/O | low |
Spawn an interactive shell (sudo, unprivileged)
sg $(id -ng) sg is a command-line utility. Switch group ID utility that can spawn a shell; can also spawn an interactive shell.