Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What is the Ubuntu 12.04 LTS image password?

I installed it as a node of Ubuntu maas with cobbler. It retrieved packages over Internet and installed it. I have just ssh public key, but I do not have password or other credentials. Can I obtain it from somewhere else?

share|improve this question
    
no one? no idea? –  m_smith Jul 6 '12 at 5:26

2 Answers 2

Your SSH key should be used for access. The SSH keys that you've set in MAAS will all be put on the newly installed node, in the ubuntu user account. You should be able to get into the machine with:

ssh ubuntu@${address-of-node}

Then use sudo to do things as root, as usual, though I don't think it'll prompt you for a password.

share|improve this answer
    
Thanks for your reply, –  m_smith Jul 6 '12 at 13:25
    
The problem still exists. My MAAS have two users and two public keys are added in webUI. After installation, ssh ubuntu@node-address prompts for password. It seems these two public keys are not in authorized_keys in /.ssh/. Any comments? –  m_smith Jul 7 '12 at 12:12
    
The result after installation is something like this: Ubuntu 12.04 LTS client-image ttyl client-image login: ec2: ec2: ############################# ec2: BEGIN SSH HOST KEY FINGERPRINTS ec2: 1024 98:....:11 root@client-image (DS A) ec2: 256 7a:.....:2f root@client-image (ECD SA) ec2: 2048 B....:16:2b root@client-image (RS A) ec2: END SSH HOST KEY FINGERPRINTS ec2: ###################### BEGIN SSH HOST KEY KEYS ecdsa-sha2-nistp256 AAAAE2VjZ....450= root@client-image ssh-rsa AAAA.......Ur3Hc5ToJZ root@client-image END SSH HOST KEY KEYS –  m_smith Jul 7 '12 at 12:17
    
A work around for my case: boot the node with Ubuntu live and mount the disk. Then edit .ssh specially authorized_keys file of root and ubuntu user as you want. :D –  m_smith Jul 10 '12 at 18:43

Same here with root user. What's the point in using MAAS if after install you have live cd to install your keys?

edit As a workaround I set a password for the ubuntu user in this path:

/var/lib/cobbler/kickstarts/maas.preseed

d-i passwd/user-password-crypted password <MY-CRYPTED-PASSWORD>

After logging in /home/ubuntu/.ssh/authorized_keys, was empty.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.