Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Jun 18, 2018 10:12 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Oct 14, 2010 12:38 am 
Offline
Newbie

Joined: Mon Sep 27, 2010 7:41 pm
Posts: 5
Unfortunately I forgot the changed root password, to reset
it back to the default one, "freelink", as it is just flashed
with freelink, I am thinking to modify the /etc/shadow file
to replace the current one with the initial one. Does anyone
know the initial shadow string?

Thanks a lot!


Last edited by zetus on Thu Oct 14, 2010 2:23 pm, edited 1 time in total.

Top
   
PostPosted: Thu Oct 14, 2010 2:21 pm 
Offline
Newbie

Joined: Mon Sep 27, 2010 7:41 pm
Posts: 5
Anyone? Please.

If you are willing to help and you have a freelink LS2, then:
1) set the root passwd to a temporary one such as "1a2b3c4d";
2) copy the user "root"'s line in the /etc/shadow and post it here
along with that temporary password.
3) change the password back to your safe, secret one. :)
Then I can just copy the encrypted string to my /etc/shadow and
use the temporary password to login.


Thanks!


Top
   
PostPosted: Thu Oct 14, 2010 6:30 pm 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
Just delete the string, e.g. instead of

root:encrypted:13087:0:99999:7:::

make it

root::13087:0:99999:7:::

Log on with no password, and run "passwd".


Top
   
PostPosted: Thu Oct 14, 2010 8:47 pm 
Offline
Newbie

Joined: Mon Sep 27, 2010 7:41 pm
Posts: 5
I use a ubuntu desktop to generate a shadowed
string and it worked on this freelink - they are all debian
after all. :-)

I was not doing this as I noticed the same password will
have different shadowed/encrypted string in a redhat
from an ubuntu.

Thanks anyway!


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Powered by phpBB® Forum Software © phpBB Limited