| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Note
Repository Mirrors
A chroot utility.
warproot [OPTIONS] NEWROOT [COMMAND [ARG]...]
If COMMAND is omitted, /bin/sh is started inside the new root.
| Flag | Description |
|---|---|
| --userspec=USER[:GROUP] | Run as the given user and optional group (name or numeric ID) |
| --groups=G_LIST | Set supplementary groups (comma-separated names or IDs) |
| --skip-chdir | Do not change working directory to / after chroot |
| --mount-proc | Mount the proc filesystem at /proc inside NEWROOT |
| --preserve-environment | Keep current environment variables instead of clearing them |
| --loglevel=LEVEL | Log verbosity: fatal, warning, or info (default: info) |
| --version | Print version and exit |
| --help, -h | Print help and exit |
Each run truncates and rewrites latest.log in the working directory. Verbosity is controlled with --loglevel.
go build -o warproot .Requires root privileges at runtime.
GPL-3.0-only
| Back | FazBrowse Home | New Git URL |