Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.37 KB

adduser-novaboot.pod

File metadata and controls

51 lines (32 loc) · 1.37 KB

NAME

adduser-novaboot - create user account for use with novaboot's --ssh option

SYNOPSIS

adduser-novaboot --key KEY [--admin-id NAME] [adduser options] user

DESCRIPTION

adduser-novaboot is a wrapper of adduser(8) command that simplifies creation of user accounts for novaboot's --ssh option. The created account has its shell set to novaboot-shell(1). The command also creates a template of the configuration file, sets up administrator's SSH key in authorized_keys(5) prepares directories and symlinks that for integration with TFTP server.

Automatic power-off

When your system uses systemd(1), you can configure a systemd service to automatically power-off the target after a timeout. See novaboot-delayed-power-off in novaboot-shell(1).

OPTIONS

--key KEY

Mandatory argument specifying administrator's public SSH key (e.g. ~/.ssh/id_rsa.pub). The key will be copied to the created account's ~/.ssh/authorized_keys and marked with administrator flag.

--admin-id NAME

User name associated with the key. This user name is shown to connecting users when the target is occupied by the administrator. When omitted, admin is used as the user name.

AUTHORS

Michal Sojka <[email protected]>

Latest version can be found at https://github.com/wentasah/novaboot.