Comment 4 for bug 1574829

Revision history for this message
Federico Gimenez (fgimenez) wrote :

With the 2.0.5 package:

$ snap install hello-world
error: access denied (snap login --help)

$ snap login --help
Usage:
  snap [OPTIONS] login email

The login command authenticates on snapd and the snap store and saves credentials
into the ~/.snap/auth.json file. Further communication with snapd will then be made
using those credentials.

Login only works for local users in the sudo or admin groups.

An account can be setup at https://login.ubuntu.com

Help Options:
  -h, --help Show this help message

[login command arguments]
  email: login.ubuntu.com email to login as