General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Sep 21, 2014 4:04 am

All times are UTC




Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Oct 05, 2010 12:11 pm 
Offline

Joined: Fri Oct 01, 2010 2:20 pm
Posts: 10
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:
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:
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:
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


Top
 Profile  
 
PostPosted: Tue Oct 05, 2010 7:20 pm 
Offline

Joined: Thu May 08, 2008 11:23 am
Posts: 112
Location: near Toulouse, France
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.

Top
 Profile  
 
PostPosted: Fri Oct 08, 2010 2:57 pm 
Offline
User avatar

Joined: Fri Jul 04, 2008 8:41 pm
Posts: 120
Topic is now sticky! Be a useful addition to the wiki this one!


Top
 Profile  
 
PostPosted: Thu Oct 14, 2010 3:20 pm 
Offline

Joined: Thu Oct 14, 2010 3:15 pm
Posts: 1
: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:
http://192.168.1.1/cmd.php?mode=exec&cmd=mv%20/usr/sbin/mt-daapd%20/usr/sbin/disable_mt-daapd_disable


8-)


Top
 Profile  
 
PostPosted: Tue Nov 30, 2010 7:09 am 
Offline

Joined: Mon Nov 29, 2010 1:31 pm
Posts: 5
SSH Enabling on Wireless Space are the same as on Network Space 2 ? http://lacie.nas-central.org/wiki/Category:Network_Space_2#Enabling_SSH_without_disassembling


Top
 Profile  
 
PostPosted: Tue Nov 30, 2010 7:51 am 
Offline

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

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

Oli


Top
 Profile  
 
PostPosted: Tue Nov 30, 2010 8:07 am 
Offline

Joined: Mon Nov 29, 2010 1:31 pm
Posts: 5
possible to install rtorrent or transmission on Wireless Space?


Top
 Profile  
 
PostPosted: Tue Nov 30, 2010 8:11 am 
Offline

Joined: Fri Oct 01, 2010 2:20 pm
Posts: 10
I don't know but try the "Download" section in the Dashboard.
There you can download torrents with, out of the box ;)


Top
 Profile  
 
PostPosted: Tue Nov 30, 2010 8:20 am 
Offline

Joined: Mon Nov 29, 2010 1:31 pm
Posts: 5
it is not so handy.
maybe posible put *.torrent file to special folder for automatic download?


Top
 Profile  
 
PostPosted: Thu Feb 10, 2011 10:02 pm 
Offline

Joined: Thu Feb 10, 2011 9:59 pm
Posts: 1
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?


Top
 Profile  
 
PostPosted: Sat Mar 26, 2011 8:56 pm 
Offline

Joined: Sat Mar 26, 2011 1:47 pm
Posts: 7
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:
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:
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:
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


Top
 Profile  
 
PostPosted: Sun Mar 27, 2011 1:38 am 
Offline

Joined: Sat Mar 26, 2011 1:47 pm
Posts: 7
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:
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:
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:
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 :)


Top
 Profile  
 
PostPosted: Sun Apr 17, 2011 6:38 pm 
Offline

Joined: Sat Apr 16, 2011 8:29 am
Posts: 3
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


Top
 Profile  
 
PostPosted: Sun May 01, 2011 10:12 pm 
Offline

Joined: Sat Mar 26, 2011 1:47 pm
Posts: 7
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?


Top
 Profile  
 
PostPosted: Wed Jun 08, 2011 11:24 am 
Offline

Joined: Wed Jun 08, 2011 11:10 am
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group