GRADM(8)
π GRADM β the grsecurity RBAC admin bestie π
okay so this is gradm, section 8 of the System Manager's Manual, and it's literally the administration program for the grsecurity RBAC system. sit down, grab a strawberry π, we're doing this.
β¨ NAME β¨
gradm β Administration program for the grsecurity RBAC system
πΈ SYNOPSIS πΈ
gradm [ -E ] [ -R ] [ -C ] [ -F ] [ -L <logfile> ] [ -O
<filename|stream> ] [ -M <filename|uid> ] [ -D ] [ -P [rolename] ] [ -a
<rolename> ] [ -n <rolename> ] [ -p <rolename> ] [ -u ] [ -V ] [ -h ] [
-v ]
π DESCRIPTION π
gradm is the userspace RBAC parsing and authentication program for grsecurity. it's giving main character energy for real.
grsecurity aims to be a complete security system for Linux 2.4. and gradm? she does several tasks for the RBAC system, including authenticating via a password to the kernel and parsing rules to be passed to the kernel. multi-tasking queen π
π OPTIONS π
π heads up bestie: all options togradmare mutually exclusive, except for-Land-O. the way that those two are the only ones allowed to hang out togetherβ¦ iconic.
-Eβ Enable the RBAC system. turn it ON, we're live β¨-Rβ Reload the RBAC system. only valid while in admin mode, so don't try it unless you're actually the admin bestie.-Cβ Perform a check of the RBAC policy, running the same analysis against it that is performed when enabling. like a vibe check but for your ruleset π§-Fβ Toggle full learning mode. if you use it only with-L, it enables the RBAC system in full learning mode. if you use it with-Land-O, it parses the full learning logs and generates a complete ruleset. glow-up arc fr fr π-M <filename|uid>β Remove an execution ban on a given uid or filename that has been put in place by theRES_CRASHresource restriction of the RBAC system. un-grounding someone, basically π-L <logfile>β Parses the learning logs. takes an argument which specifies the logfile to scan for the learning logs. if-is specified as the logfile, stdin will be used as the learning log. this option can be used with-E,-O, or-F. π-O <filename|stream>β Specifies output mode. requires a single argument that can be"stdout","stderr", or a regular file. only used with-Lor-F. choose your destiny π-Dβ Disable the RBAC system. nap time π΄-P [rolename]β Without an argument, it sets the password for administering the RBAC system. with a role name as an argument, it sets the password for that given special role. π-a <rolename>β Authenticate to a special role that requires a password. keys out, bestie ποΈ-n <rolename>β Authenticate to a special role that does not require a password. no key needed, walk right in πͺ-p <rolename>β Authenticate through PAM to a special role. PAM said come through π«Ά-uβ Removes yourself from your current special role, reverting back to the normal role selection. to be used, for instance, for logging out of an admin role without exiting your shell. no need to close the whole tab, just log out of the role π«-Vβ Displays verbose policy statistics when enabling the RBAC system or checking the RBAC policy. can only be used with-C,-E, or-F -L <filename>. numbers, but make it loud π-hβ Display help information. lost? same. here's the map πΊοΈ-vβ Print version information and exit. who am I? what am I? β
π REPORTING BUGS π
found a bug? π please include as much information as possible (using any available debugging options) and send bug reports for gradm or the grsecurity RBAC system to spender@grsecurity.net. give them everything, they need the full picture.
π AUTHOR π
grsecurity and gradm were created and are maintained by Brad Spengler <spender@grsecurity.net>. legend behaviour, no cap.
and that's the whole page bestie π this was GRADM(8) from the System Manager's Manual β the version and date live on that last line of the original page, so consider this your lil sign-off: same manual, same section 8, same energy. periodt. π
β¨
π¦ where this page comes from
- nixos 26.05: gradm 3.1-202111052217
- nixpkgs unstable: gradm 3.1-202111052217
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms