About Security
See also: Authentication, How to authenticate clients with the Multipass service,
authenticate
,local.passphrase
WARNING
Multipass is primarily intended for development, testing, and local environments. It is not intended for production use. Review the security considerations in this page carefully before deploying your Multipass VMs.
Multipass runs a daemon that is accessed locally via a Unix socket on Linux and macOS, and over a TLS socket on Windows. Anyone with access to the socket can fully control Multipass, which includes mounting host file systems or to tweaking the security features for all instances.
Therefore, make sure to restrict access to the daemon to trusted users.
Local access to the Multipass daemon
The Multipass daemon runs as root and provides a Unix socket for local communication. Access control for Multipass is initially based on group membership and later by the client’s TLS certificate when accepted by providing a set passphrase.
The first client to connect that is a member of the sudo
group (or wheel
/adm
, depending on the OS) will automatically have its TLS certificate imported into the Multipass daemon and will be authenticated to connect. After this, any other client connecting will need to authenticate
first by providing a passphrase set by the administrator.
Errors or typos? Topics missing? Hard to read? Let us know or open an issue on GitHub.