I implement a Command Line Shell in my snap app ( mysnap.cli ), then I set this cli shell as new exterauser’s default shell in /var/lib/extrausers/passwd:
But when I login by this user, ubuntu core report snap command error, can you give me some advices?
---------------- log ----------------
Welcome to Ubuntu Core 16 (GNU/Linux 4.4.0-164-generic x86_64)
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
- Ubuntu Core: https://www.ubuntu.com/core
- Community: https://forum.snapcraft.io
- Snaps: https://snapcraft.io
This Ubuntu Core machine is a tiny, transactional edition of Ubuntu,
designed for appliances, firmware and fixed-function VMs.
If all the software you care about is available as snaps, you are in
the right place. If not, you will be more comfortable with classic
deb-based Ubuntu Server or Desktop, where you can mix snaps with
traditional debs. It’s a brave new world here in Ubuntu Core!
Please see ‘snap --help’ for app installation and updates.
The snap command lets you install, configure, refresh and remove snaps.
Snaps are packages that work across many different Linux distributions,
enabling secure delivery and operation of the latest apps and utilities.
Usage: snap […]
Commands can be classified as follows:
Basics: find, info, install, list, remove ...more: refresh, revert, switch, disable, enable History: changes, tasks, abort, watch Daemons: services, start, stop, restart, logs Commands: alias, aliases, unalias, prefer
Configuration: get, set, unset, wait
Account: login, logout, whoami
Permissions: connections, interface, connect, disconnect
Snapshots: saved, save, check-snapshot, restore, forget
Other: version, warnings, okay, ack, known, create-cohort
Development: run, pack, try, download, prepare-image
For more information about a command, run 'snap help '.
For a short summary of all commands, run ‘snap help --all’.