OS module: Disable root

Disable root login. This makes it impossible to login as root both via SSH and physically.

Example

space -m os /disableroot/

Exit status code is expected to be 0 on success.

Edit this page