[linux] Fwd: Re: Stora Nas

paai j.j.paijmans op gmail.com
Do Dec 7 12:09:11 CET 2017


Gevonden op http://www.openstora.com/


Finally found the trick to gain root access to the Stora without using 
the reset + tftp + nfs or a serial port:

First you need to get your Stora’s product key, it’s located behind the 
Stora, close to the ethernet port, it’s in the form “XXXX-XXXX-XXXX-XXXX”.

Then you just need to SSH to your Stora with a particular user which is 
just one of the users created through the web interface (the user needs 
to have the administrator flag selected) concatenated by the string 
“_hipserv2_netgear_XXXX-XXXX-XXXX-XXXX” (where XXXX-XXXX-XXXX-XXXX is 
your product key, ALL CAPITAL LETTERS!), this time you’ll get a password 
prompt instead of the “connection to x:22 exited: remote closed the 
connection”, just enter the user password, which is the one you use to 
access your Stora through the web interface and you’ll get user access. 
Now to get root access you just need to write “sudo -s” and enter again 
the user password, every ADMINISTRATOR user is allowed to use the sudo 
command. You’ll probably get a: “audit_log_user_command(): Connection 
refused” but it doesn’t matter, you’ll get the root prompt!

Example: if you created a user named “stora”, flagging the “user is 
administrator” during the Stora setup or through the web interface and 
your Stora’s product key is “1234-5678-9999-9999” you just need to ssh 
to your Stora and use “stora_hipserv2_netgear_1234-5678-9999-9999” as 
user, either using Putty or your favorite SSH client and enter that 
user’s password, then “sudo -E -s” and you’ll get root access, that’s it!


-- 
Dr. J.J. Paijmans
Houwenberg 2A
5985PE Grashoek (L)
http://paijmans.net v.a. Stettin

------------- volgend deel ------------
Een HTML-bijlage is gescrubt...
URL: <https://lists.nllgg.nl/pipermail/linux/attachments/20171207/015b400c/attachment.html>


Meer informatie over de Linux maillijst