|
454.
|
|
|
![](/@@/translation-newline)
The login command authenticates the user to snapd and the snap store, and saves ![](/@@/translation-newline)
credentials into the ~/.snap/auth.json file. Further communication with snapd ![](/@@/translation-newline)
will then be made using those credentials.
![](/@@/translation-newline)
It's not necessary to log in to interact with snapd. Doing so, however, enables ![](/@@/translation-newline)
purchasing of snaps using 'snap buy', as well as some some developer-oriented ![](/@@/translation-newline)
features as detailed in the help for the find, install and refresh commands.
![](/@@/translation-newline)
An account can be set up at https://login.ubuntu.com
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_login.go:42
|
|
455.
|
|
|
![](/@@/translation-newline)
The logout command logs the current user out of snapd and the store.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_logout.go:34
|
|
456.
|
|
|
![](/@@/translation-newline)
The logs command fetches logs of the given services and displays them in ![](/@@/translation-newline)
chronological order.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_services.go:58
|
|
457.
|
|
|
![](/@@/translation-newline)
The managed command will print true or false informing whether ![](/@@/translation-newline)
snapd has registered users.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_managed.go:31
|
|
458.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_warnings.go:60
|
|
459.
|
|
|
![](/@@/translation-newline)
The pack command packs the given snap-dir as a snap and writes the result to ![](/@@/translation-newline)
target-dir. If target-dir is omitted, the result is written to current ![](/@@/translation-newline)
directory. If both source-dir and target-dir are omitted, the pack command packs ![](/@@/translation-newline)
the current directory.
![](/@@/translation-newline)
The default file name for a snap can be derived entirely from its snap.yaml, but ![](/@@/translation-newline)
in some situations it's simpler for a script to feed the filename in. In those ![](/@@/translation-newline)
cases, --filename can be given to override the default. If this filename is ![](/@@/translation-newline)
not absolute it will be taken as relative to target-dir.
![](/@@/translation-newline)
When used with --check-skeleton, pack only checks whether snap-dir contains ![](/@@/translation-newline)
valid snap metadata and raises an error otherwise. Application commands listed ![](/@@/translation-newline)
in snap metadata file, but appearing with incorrect permission bits result in an ![](/@@/translation-newline)
error. Commands that are missing from snap-dir are listed in diagnostic ![](/@@/translation-newline)
messages.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_pack.go:49
|
|
460.
|
|
|
![](/@@/translation-newline)
The paths command prints the list of paths detected and used by snapd.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_paths.go:32
|
|
461.
|
|
|
![](/@@/translation-newline)
The prefer command enables all aliases of the given snap in preference ![](/@@/translation-newline)
to conflicting aliases of other snaps whose aliases will be disabled ![](/@@/translation-newline)
(or removed, for manual ones).
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_prefer.go:36
|
|
462.
|
|
|
![](/@@/translation-newline)
The prepare-image command performs some of the steps necessary for ![](/@@/translation-newline)
creating device images.
![](/@@/translation-newline)
For core images it is not invoked directly but usually via ![](/@@/translation-newline)
ubuntu-image.
![](/@@/translation-newline)
For preparing classic images it supports a --classic mode
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/cmd_prepare_image.go:64
|
|
463.
|
|
|
![](/@@/translation-newline)
The publisher of snap %q has indicated that they do not consider this revision ![](/@@/translation-newline)
to be of production quality and that it is only meant for development or testing ![](/@@/translation-newline)
at this point. As a consequence this snap will not refresh automatically and may ![](/@@/translation-newline)
perform arbitrary system changes outside of the security sandbox snaps are ![](/@@/translation-newline)
generally confined to, which may put your system at risk.
![](/@@/translation-newline)
If you understand and want to proceed repeat the command including --devmode; ![](/@@/translation-newline)
if instead you want to install the snap forcing it into strict confinement ![](/@@/translation-newline)
repeat the command including --jailmode.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
cmd/snap/error.go:181
|