LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-24-2013, 04:02 AM   #1
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Rep: Reputation: 47
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.
 
Old 01-24-2013, 05:28 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
#slackware on FreeNode
 
Old 01-25-2013, 07:37 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
What have you tried?
Did you try no password, as in a normal installation?

</guessing>
 
Old 01-25-2013, 09:30 AM   #4
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 47
Yes I tried with no password, but no luck. I think I need to roll my own Slackware AMI
 
Old 01-25-2013, 10:47 AM   #5
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by kite View Post
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 ?
 
Old 01-26-2013, 12:17 PM   #6
kite
Member
 
Registered: Aug 2003
Location: Shenzhen, China
Distribution: Slackware
Posts: 306

Original Poster
Rep: Reputation: 47
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

Last edited by kite; 01-26-2013 at 12:20 PM. Reason: spelling
 
  


Reply

Tags
slackware ami



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to create Slackware AMI image for amazon AWS? kite Slackware 4 02-19-2013 02:19 PM
Restore LVM disk from image, made by dd tolsty7 Linux - General 4 07-12-2010 02:00 AM
How to mount as loop an image of a VFAT made with dd? frenchn00b Linux - General 3 02-27-2010 02:26 AM
How to built an amazon ec2 slackware AMI from scratch fietske Slackware 0 01-18-2010 04:55 PM
What is the easiest way to increase the size of a Xen Image made from an image? abefroman Linux - Software 4 12-14-2009 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration