Buffalo Forums

Products => Storage => Topic started by: jmarkel on August 12, 2009, 10:31:16 PM

Title: Root password for console?
Post by: jmarkel on August 12, 2009, 10:31:16 PM
   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?
Title: Re: Root password for console?
Post by: afifim on August 13, 2009, 02:21:21 AM
   

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 

Title: Re: Root password for console?
Post by: jmarkel on August 13, 2009, 08:18:24 PM
   

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
Title: Re: Root password for console?
Post by: afifim on August 14, 2009, 01:14:44 AM
   

I suspect that's u-boot.

Have a look at 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 :( 

Title: Re: Root password for console?
Post by: varfannet on January 06, 2010, 07:56:26 PM
   

thes is a new password

Title: Re: Root password for console?
Post by: JoshC on January 08, 2010, 06:12:53 AM

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: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 70 (show)
Files included: 27 - 1055KB. (show)
Memory used: 734KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]