Computer Setup action implementation
Source: target-root/usr/local/libexec/solidgroundux/manage-computer.sh
Computer Setup action implementation
Public functions
Internal functions
| Function | Purpose | Arguments | Output |
|---|---|---|---|
_computer_configure_ssh_service | Enable or disable SSH and keep its runtime state aligned. | — | — |
_computer_generate_ssh_keys | Generate missing SSH host keys, validate sshd, and restart SSH. | — | — |
_computer_configure_sudoers | Grant the selected administrator passwordless access to trusted | — | — |
_computer_status | Display the current Computer Setup state without changing the machine. | — | — |
_computer_validate | Validate the principal Computer Setup outcomes without changing the machine. | — | — |
_run_action | Dispatch the requested management action to its implementation. | - $1: Management action to execute. | — |
Description
Standalone management actions dispatched from 10-computer-setup.sh. UI, reporting and errors use the SolidGroundUX framework.
Usage
Run the executable from its shell command (or installed wrapper):
manage-computer --action ssh-host-keys
Script-specific options:
--action NAME,-a: Computer Setup action (choices:ssh-host-keys,ssh-service,sudoers,status,validate).
