General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Apr 24, 2017 7:08 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Sep 03, 2010 8:38 pm 
Offline

Joined: Fri Sep 03, 2010 8:28 pm
Posts: 1
i bought a used edmini v2 320G sata
successfully i put the webshell script on /www/cgi-bin/admin
but i played something wrong with sed on /etc/passwd and /etc/shadow
and now i've no valid account (i cannot enter anymore in http://..../cgi-bin/admin/webshell)

i tried to modify passwd and shadow attaching the sata disk to another machine
adding a new password generated with
openssl passwd -1
but with no success

so, what to do?

other question: what images are these?
http://gpl.nas-central.org/LACIE/ethern ... on_images/
the lacie original ones? (please put a better README inside)

bye


Top
 Profile  
 
PostPosted: Sat Sep 04, 2010 1:47 pm 
Offline

Joined: Sat Aug 28, 2010 4:24 pm
Posts: 9
sda8.bz2 is a compressed dd image of the root filesystem
You can find a "fresh" passwd file inside:
Code:
bunzip2 sda8.bz2
mkdir tdlmountpoint
mount -o loop sda8 tdlmountpoint


Top
 Profile  
 
PostPosted: Mon Feb 28, 2011 4:34 pm 
Offline

Joined: Mon Feb 28, 2011 4:18 pm
Posts: 2
Do you still have this problem?

I could send you the original passwd and shadow file (slightly edited ofcourse). Mail me if you want them.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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