LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   May I ask here who made this AWS AMI image for slackware? (https://www.linuxquestions.org/questions/slackware-14/may-i-ask-here-who-made-this-aws-ami-image-for-slackware-4175447007/)

kite 01-24-2013 04:02 AM

May I ask here who made this AWS AMI image for slackware?
 
I need to run slackware under AWS badly? This is the image description: http://thecloudmarket.com/image/ami-...-d-e-f-k-l-n-3

May I ask here who made this and what is the default root password for ssh login?

Thanks a lot.

Habitual 01-24-2013 05:28 PM

#slackware on FreeNode

Habitual 01-25-2013 07:37 AM

What have you tried?
Did you try no password, as in a normal installation?

</guessing>

kite 01-25-2013 09:30 AM

Yes I tried with no password, but no luck. I think I need to roll my own Slackware AMI

guanx 01-25-2013 10:47 AM

Quote:

Originally Posted by kite (Post 4877399)
Yes I tried with no password, but no luck. I think I need to roll my own Slackware AMI

I've no idea what the AMI here is, nor how to download this image, but have you tried to simply clear the root password from /etc/shadow ?

kite 01-26-2013 12:17 PM

Thanks for the hints.

I finally solved the problem.

1. Stop the slackware instance in question.
2. unattach the root ebs volume
3. launch a fresh instance using default amazon AMI (with the access key name as amazon.pem here).
4. reattach the slackware root ebs volume to the new amazon as /dev/sdf
5. ssh into the new amazon instance and mount /dev/sdf to /mnt
6. copy the /root/.ssh/authorized_keys to /mnt/root/.ssh/
7. chroot /mnt and run 'passwd root' to reset the root password
8. umount /dev/sdf
9. reattach the slackware root ebs back to previous slackware instance in question as block /dev/sda1
10. Restart the slackware instance in question.
11. ssh -i amazon.pem root@dns_of_slackware_instance_here
All is fine, but weird to find out that an ubuntu kernel is running within slackware territory :).

Code:

root@cloud-slack:/etc/rc.d# cat /etc/slackware-version
Slackware 14.0
root@cloud-slack:/etc/rc.d# uname -a
Linux cloud-slack 3.2.0-29-virtual #46-Ubuntu SMP Fri Jul 27 17:23:50 UTC 2012 x86_64 Intel(R) Xeon(R) CPU          E5645  @ 2.40GHz GenuineIntel GNU/Linux



All times are GMT -5. The time now is 05:12 AM.