All times are UTC-06:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Forgotten Password
PostPosted: Tue Nov 15, 2011 9:04 am 
Offline

Joined: Wed Nov 09, 2011 10:18 am
Posts: 2
Location: Boston, MA
I just started working on a Genesi Efika MX Cloud computer, and the previous user forgot the password (os is ubuntu).

How do I go about resetting the password?

Thank you-


Top
   
 Post subject:
PostPosted: Tue Nov 15, 2011 12:18 pm 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Hi.

The easiest way to do this:

- Make an SD card with the installer image: http://www.powerdeveloper.org/platforms/efikamx/linux

- Boot from the SD card, but answer 'N' to the question if you want to erase everything and re-install

- This will drop you to a shell. Username and password are both 'oem', no quotes

- Become root: 'sudo su', password again 'oem'

- Mount the internal drive on e.g., /mnt as follows:
Code:
mount /dev/sda2 /mnt
- Edit /mnt/etc/shadow with e.g., nano:
Code:
nano /mnt/etc/shadow
- Find the user name. It should look like this:
Code:
user:$6$somehexstring:14631:0:99999:7:::
- Remove the hex string, in the example above, remove the part here:
Code:
$6$somehexstring
- Shut down the system : 'shutdown -h now'

- Remove SD card and power on.

The user in question will have a blank password.


Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group