[HOWTO] Set the root password to lacie

olihey
Posts: 10
Joined: Fri Oct 01, 2010 2:20 pm

[HOWTO] Set the root password to lacie

Post by olihey » Tue Oct 05, 2010 12:11 pm

Here is a guide how you can set your root password to "lacie", even reboot safe :)

1. Open a TextEditor and paste in the following

Code: Select all

root:$1$aRn1q2MR$FIx.hlkWbFrY3aKBESNke.:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
!!user.name.1!!::10933:0:99999:7:::
wuala::10933:0:99999:7:::
messagebus::10933:0:99999:7:777
sshd::10933:0:99999:7:777
2. Save the file as "shadow.klaxon.in" on your OpenShare of the Wireless Space Box.
3. First to remount the root system as read-write open the following URL in your Web Browser (replace the IP with the IP from your box)

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=mount%20-n%20-o%20remount,rw%20/
4. Copy the file you uploaded to the OpenShare in the right place by opening this URL in your Web Browser (replace the IP with the IP from your box)

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=cp%20/lacie/var/userPart/share/OpenShare/shadow.klaxon.in%20/lacie/default/shadow.klaxon.in
5. Go to the Web Dashboard of the Box and restart the Wireless space
6. If you have enabled SSH to the box you can now log on as root with the password "lacie" (without the double quotes).

Once you are logged in as root you can change the password to whatever you want by using the passwd command! (It will be restored to lacie after reboot again)

This was tested on the Lacie Wireless Space with Firmware 1.0.2

rosbif
Posts: 112
Joined: Thu May 08, 2008 11:23 am
Location: near Toulouse, France

Re: [HOWTO] Set the root password to lacie

Post by rosbif » Tue Oct 05, 2010 7:20 pm

olihey wrote:Here is a guide how you can set your root password to "lacie", even reboot safe :)
That's great :)
Thank you very much olihey.
I was wondering how to get root on the WS.
I intend to build kernel modules for DVB when they release the Linux kernel source code (hint, hint LaCie ;-) ).
EDIT: the GPL tarball for 1.0.7 is here; thanks LaCie :)

It's also handy to be able to run commands as root via the web browser like this when you don't need a full shell :)
Last edited by rosbif on Sat Oct 16, 2010 5:27 am, edited 1 time in total.

User avatar
timtim
Posts: 120
Joined: Fri Jul 04, 2008 8:41 pm

Re: [HOWTO] Set the root password to lacie

Post by timtim » Fri Oct 08, 2010 2:57 pm

Topic is now sticky! Be a useful addition to the wiki this one!

kungfu
Posts: 1
Joined: Thu Oct 14, 2010 3:15 pm

Re: [HOWTO] Set the root password to lacie

Post by kungfu » Thu Oct 14, 2010 3:20 pm

:shock: I’ve followed this process (a couple of times) and can no longer login (ssh) as admin or root
Any help appreciated (including the original shadow.klaxon.in)
Regards

I ended up resetting to factory defaults. ssh admin now working again.
I wanted root access to stop the iTunes server daapd.
I eventually did this by remounting the system as read-write (as described in post 1) then:

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=mv%20/usr/sbin/mt-daapd%20/usr/sbin/disable_mt-daapd_disable

8-)

derrij
Posts: 5
Joined: Mon Nov 29, 2010 1:31 pm

Re: [HOWTO] Set the root password to lacie

Post by derrij » Tue Nov 30, 2010 7:09 am

SSH Enabling on Wireless Space are the same as on Network Space 2 ? http://lacie.nas-central.org/wiki/Categ ... assembling

olihey
Posts: 10
Joined: Fri Oct 01, 2010 2:20 pm

Re: [HOWTO] Set the root password to lacie

Post by olihey » Tue Nov 30, 2010 7:51 am

No!

In the Dashboard go to "General" and enabled the checkbox next to SSH-Server ;)

Oli

derrij
Posts: 5
Joined: Mon Nov 29, 2010 1:31 pm

Re: [HOWTO] Set the root password to lacie

Post by derrij » Tue Nov 30, 2010 8:07 am

possible to install rtorrent or transmission on Wireless Space?

olihey
Posts: 10
Joined: Fri Oct 01, 2010 2:20 pm

Re: [HOWTO] Set the root password to lacie

Post by olihey » Tue Nov 30, 2010 8:11 am

I don't know but try the "Download" section in the Dashboard.
There you can download torrents with, out of the box ;)

derrij
Posts: 5
Joined: Mon Nov 29, 2010 1:31 pm

Re: [HOWTO] Set the root password to lacie

Post by derrij » Tue Nov 30, 2010 8:20 am

it is not so handy.
maybe posible put *.torrent file to special folder for automatic download?

suprnowa
Posts: 1
Joined: Thu Feb 10, 2011 9:59 pm

Re: [HOWTO] Set the root password to lacie

Post by suprnowa » Thu Feb 10, 2011 10:02 pm

Welcome
I need help, I tried to do the SSH access and do not know when it happened, even as the web change password I can log in via FTP as well as by the explorer.
Do not work on my standard password, or root, or also like you I set ..
How do I fix this?

19pacman73
Posts: 7
Joined: Sat Mar 26, 2011 1:47 pm

Re: [HOWTO] Set the root password to lacie

Post by 19pacman73 » Sat Mar 26, 2011 8:56 pm

olihey wrote:Here is a guide how you can set your root password to "lacie", even reboot safe :)

1. Open a TextEditor and paste in the following

Code: Select all

root:$1$aRn1q2MR$FIx.hlkWbFrY3aKBESNke.:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
!!user.name.1!!::10933:0:99999:7:::
wuala::10933:0:99999:7:::
messagebus::10933:0:99999:7:777
sshd::10933:0:99999:7:777
2. Save the file as "shadow.klaxon.in" on your OpenShare of the Wireless Space Box.
3. First to remount the root system as read-write open the following URL in your Web Browser (replace the IP with the IP from your box)

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=mount%20-n%20-o%20remount,rw%20/
4. Copy the file you uploaded to the OpenShare in the right place by opening this URL in your Web Browser (replace the IP with the IP from your box)

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=cp%20/lacie/var/userPart/share/OpenShare/shadow.klaxon.in%20/lacie/default/shadow.klaxon.in
5. Go to the Web Dashboard of the Box and restart the Wireless space
6. If you have enabled SSH to the box you can now log on as root with the password "lacie" (without the double quotes).

Once you are logged in as root you can change the password to whatever you want by using the passwd command! (It will be restored to lacie after reboot again)

This was tested on the Lacie Wireless Space with Firmware 1.0.2


Could you pls give me some help on this:
i've followed your instruction and the first http commande delivers return code:0 and the second one delivers return code:1. anyhow, i'm not able to login with root.
any ideas on this?

i'm on firmware 1.0.9

thnx in advance

19pacman73
Posts: 7
Joined: Sat Mar 26, 2011 1:47 pm

Re: [HOWTO] Set the root password to lacie

Post by 19pacman73 » Sun Mar 27, 2011 1:38 am

19pacman73 wrote:
olihey wrote:Here is a guide how you can set your root password to "lacie", even reboot safe :)

1. Open a TextEditor and paste in the following

Code: Select all

root:$1$aRn1q2MR$FIx.hlkWbFrY3aKBESNke.:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
!!user.name.1!!::10933:0:99999:7:::
wuala::10933:0:99999:7:::
messagebus::10933:0:99999:7:777
sshd::10933:0:99999:7:777
2. Save the file as "shadow.klaxon.in" on your OpenShare of the Wireless Space Box.
3. First to remount the root system as read-write open the following URL in your Web Browser (replace the IP with the IP from your box)

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=mount%20-n%20-o%20remount,rw%20/
4. Copy the file you uploaded to the OpenShare in the right place by opening this URL in your Web Browser (replace the IP with the IP from your box)

Code: Select all

http://192.168.1.1/cmd.php?mode=exec&cmd=cp%20/lacie/var/userPart/share/OpenShare/shadow.klaxon.in%20/lacie/default/shadow.klaxon.in
5. Go to the Web Dashboard of the Box and restart the Wireless space
6. If you have enabled SSH to the box you can now log on as root with the password "lacie" (without the double quotes).

Once you are logged in as root you can change the password to whatever you want by using the passwd command! (It will be restored to lacie after reboot again)

This was tested on the Lacie Wireless Space with Firmware 1.0.2


Could you pls give me some help on this:
i've followed your instruction and the first http commande delivers return code:0 and the second one delivers return code:1. anyhow, i'm not able to login with root.
any ideas on this?

i'm on firmware 1.0.9

thnx in advance


ok lads, i found the problem. the html injection is not working under mac-os, i did it under windows and it was working just fine :)

stephbagneux
Posts: 3
Joined: Sat Apr 16, 2011 8:29 am

Re: [HOWTO] Set the root password to lacie

Post by stephbagneux » Sun Apr 17, 2011 6:38 pm

Hi all

I do all the above procedure several time with many reboot.
I am unable to connect as root with pwd lacie. I get all the time Access denied message.


Any recommendation?


O.S Seven
Firmware 1.0.7

19pacman73
Posts: 7
Joined: Sat Mar 26, 2011 1:47 pm

Re: [HOWTO] Set the root password to lacie

Post by 19pacman73 » Sun May 01, 2011 10:12 pm

stephbagneux wrote:Hi all

I do all the above procedure several time with many reboot.
I am unable to connect as root with pwd lacie. I get all the time Access denied message.


Any recommendation?


O.S Seven
Firmware 1.0.7
is SSH enabled?

stucki
Posts: 1
Joined: Wed Jun 08, 2011 11:10 am

Re: [HOWTO] Set the root password to lacie

Post by stucki » Wed Jun 08, 2011 11:24 am

Hi,

the procedure doesn't work for me neither :( I repeated all of the steps several times and even reset my Wireless Space to its factory defaults. The http-commands always return "# exit code : 0". But every time I try to log in as 'root' with the password 'lacie', I get the 'Permission denied' message. SSH is enabled and I'm on firmware 1.1.0. I'd appreciate it if anybody could help me out with this!

Thanks in advance
stucki

Post Reply