Skip to main content

validate_confs

Function validate_confs 

Source
fn validate_confs<T, U>(config_a: &T, config_b: &U) -> Result
Expand description

Validates overlapping assumptions of two configuration objects.

Ensures that config_a and config_b have no overlapping system user IDs or SSH authorized_keys.

ยงErrors

Returns an error if there are

  • duplicate system users
  • duplicate SSH authorized keys (by comparing the actual SSH public keys)