shh-run(1)
π NAME π
okay so bestie, this is shh-run(1) from the General Commands Manual β and it's literally the glow-up page for running a program so you can profile its behavior. main character energy fr fr π
β¨
π¦ SYNOPSIS π¦
shh run [-i|--instance] [-c|--container] [-m|--mode]
[-f|--network-firewalling] [-w|--filesystem-whitelisting]
[--merge-paths-threshold] [--systemd-options] [-p|--profile-data-path]
[-l|--strace-log-path] [-h|--help] <COMMAND>
πΈ DESCRIPTION πΈ
Run a program to profile its behavior. that's the whole vibe β you run the thing, it gets profiled, you get the tea βπ
β¨ OPTIONS β¨
-i,--instance <INSTANCE>[default:system] β systemd instance of the service. lowkey your choices are"system"or"user"for per-user instances of the service manager π«Ά
[possible values: system, user]
-c,--containerβ EXPERIMENTAL bestie!! assume the systemd.serviceunit has been generated from a.containertemplate. it's giving experimental, so don't forget that part π-m,--mode <MODE>[default:standard] β how hard we should harden. like, how much are we locking things down? π
Possible values:
genericβ try to generate hardening options that are more likely to be portable across different systems for this service. WARNING: this is a best effort attempt, and NOT a guarantee. the only way to ensure the options will work is to run profiling on the same exact system π no cap.standardβ only generate hardening options if they have a negligible risk of breaking things. safe-ish queen behavior πΈaggressiveβ will harden further and prevent circumventing restrictions of some options, but may increase the risk of breaking services. it is highly recommended to manually review the generated options. highkey read them before you commit, bestie ππ₯
-f,--network-firewallingβ enable advanced network firewalling. only use this if you know that the network addresses and ports of local system and remote peers will not change. like, if those addresses are gonna shift? do not. π«π-w,--filesystem-whitelistingβ enable whitelist-based filesystem hardening. only use this if you know that the paths accessed by the service will not change. paths gotta stay put, periodt π--merge-paths-threshold <MERGE_PATHS_THRESHOLD>[default:5] β when using whitelist-based filesystem hardening, if path whitelist is longer than this value, try to merge paths with the same parent. cute little path-grouping moment π§π--systemd-options <SYSTEMD_OPTIONS>...β disable all systemd options except these (case sensitive). other options may be generated when mutating these options to make them compatible with profiling data. for testing only π§ͺβ¨-p,--profile-data-path <PROFILE_DATA_PATH>β generate profile data file to be merged with others instead of generating systemd options directly. it's giving "collect the data first, merge later" π-l,--strace-log-path <STRACE_LOG_PATH>β log strace output to this file. only use for debugging: this will slow down processing, and may generate a huge file. debugging only!! your disk is gonna be like ππ if you're not careful.-h,--helpβ print help (see a summary with'-h'). iconic little helper behavior π«Ά<COMMAND>β the command line to run. this is literally the program you're sending into the profiling machine πβ
okay bestie, that's the whole page β and the cute little sign-off at the very end says this is sourced from run on the left and shh-run(1) on the right, under the General Commands Manual π
π you're welcome, go profile something iconic β¨
π¦ where this page comes from
- nixos 26.05: shh 2026.3.8
- nixpkgs unstable: shh 2026.3.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms