News:

RAID is not a replacement for a backup! Here's why.

Main Menu

Root password for console?

Started by jmarkel, August 12, 2009, 10:31:16 PM

Previous topic - Next topic

jmarkel

   I'm working on a problematic terastation pro 1.6 that it out of warranty. I have tried all of Buffalo's recommended procedures to get this system working but nothing has worked so far. Anyway, I have now hooked up a serial console to the console port and I'm sitting at the shell. I can log in with 'admin' account and password but that account doesn't have enough privileges to make any changes to the system. I tried to 'su -' and 'sudo' but the system says 'not found'. I can cat the /etc/passwd file and see root's md5 hashed password but I would rather not have to try to crack it. Does anyone know if Terastations have a default root password? Or is root logon on the console disabled?

afifim

   

Do you see the boot up screen?

If so aren't you better off with booting into single user mode?

 

In theory _nothing_ should break if you do that, and modify the root password to something of your liking.

Will take all of a couple of mins 


jmarkel

   

I can see a boot screen of sorts but nothing like grub or something.

 


Bootcode Ver.1.23 for [TSTGL]
Build: Dec 14 2005 [21:38:16]
isUseRevClock=0

******* Product Information *******
----------------------------------
Product Name: TS-TGL(IENARI)
          VER: 3.07
         Date: 2006/2/21 17:49:38
----------------------------------
Firmware check:done.

>>root=/dev/md0
hit any key to Enter cmd mode.
>command mode
arg:
 root=/dev/ram0 : initrd
 root=/dev/md0  : hdd-rootfs
 root=/dev/nfs ip=192.168.19.114:192.168.19.219  nfsroot=/tera_root : nfs-rootfs
Input Kernel arg [root=/dev/md0]:

 

If I enter command mode, the system stalls.

Message Edited by jmarkel on 08-13-2009 08:19 PM
Message Edited by jmarkel on 08-13-2009 08:19 PM

afifim

   

I suspect that's u-boot.

Have a look at http://www.nabble.com/Booting-into-single-user-mode-under-U-Boot-td19071421.html">http://www.nabble.com/Booting-into-single-user-mode-under-U-Boot-td19071421.html it might help.

 

What you need it to do is to boot and start up /bin/sh instead of the standard init and you'll end up with a root shell.  The specific things to enter at the prompt, I'm not going to be able to figure out without having a Terastation :( 


varfannet


JoshC

This is not supported and is not tolerated.  Please go back and re-read the user guidelines.  This is your warning!


Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 206 (show)
Files included: 35 - 1354KB. (show)
Memory used: 1041KB.
Tokens: post-login.
Queries used: 15.

[Show Queries]