Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallSudoers ¶ added in v0.10.0
func InstallSudoers(host SudoersInstaller) error
InstallSudoers installs the embedded sudoers file if it is not already installed with the expected content. This may prompt for a sudo password.
func ReadString ¶
ReadString reads the content of file as string
func SudoersInstalled ¶ added in v0.10.0
func SudoersInstalled() bool
SudoersInstalled checks if the sudoers file contains the expected embedded content.
Types ¶
Click to show internal directories.
Click to hide internal directories.