manage-computer

SolidGroundUX DocumentationSolidGroundUX
NL

Computer Setup action implementation

Source: target-root/usr/local/libexec/solidgroundux/manage-computer.sh

Computer Setup action implementation

Public functions

Internal functions
FunctionPurposeArgumentsOutput
_computer_configure_ssh_serviceEnable or disable SSH and keep its runtime state aligned.——
_computer_generate_ssh_keysGenerate missing SSH host keys, validate sshd, and restart SSH.——
_computer_configure_sudoersGrant the selected administrator passwordless access to trusted——
_computer_statusDisplay the current Computer Setup state without changing the machine.——
_computer_validateValidate the principal Computer Setup outcomes without changing the machine.——
_run_actionDispatch 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).