i want to try out a few things on the ubuntu live-server (currently ubuntu-20.04.1-live-server-amd64.iso
from https://releases.ubuntu.com/).
it would be much easier for me to be able to log into that live system over ssh. i could also imagine using that as a rescue system in the future (yes, there may be better options for that).
i was looking around on the system a bit (# cat /etc/shadow
) and found that the only (pre-installed) user that has a password set is installer
.
what is this user's password? (if that is public it should be somewhere in the docs but i could not find it so far...)
on the installer screen you can go to
Help
->Help on SSH access
and the password will be displayed.the
cloud-init
service on the live-server sets a random password for theinstaller
user at boot. it can be found in/var/log/syslog
:as
cloud-init
is running you can always provide ausers:
section in your datasource and configure a user.in earlier versions is seems to have been possible to pass
ubuntu-user:password
as a kernel option (i can't find the reference to that now...). i tried that withinstalle-user:password
- with the effect that the installer failed to setup theinstaller
useroriginally found on the discussion here: https://discourse.ubuntu.com/t/interactive-live-server-installation-on-ibm-z-vm-s390x/16604