1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ssh and IP logging question

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by Ravi, Jun 29, 2012.

  1. Ravi

    Ravi Member

    Sorry if this has been asked before, I couldn't find the answer in the threads I found.

    2 separate questions for you:

    I have dropbear-ssh installed, but I'm struggling to find what password I need to use for root:

    Code:
    ssh root@ravhumax.local
    root@ravhumax.local's password:
    Permission denied, please try again.
    root@ravhumax.local's password:
    Permission denied, please try again.
    root@ravhumax.local's password:
    Permission denied (publickey,password).
    ravi@RPC-UBUNTU1:~$ 
    Code:
    Editing /mod/etc/dropbear/passwd
    root:x:0:0:root:/mod:/bin/sh
    
    I'm not that clued up on linux password files. What is the default root password. Also - could or should I change it, or will it break the WebIf?

    2nd question:

    Is there a log file I can look at to see who is logging in via the WebIf and from what IP address? It would be useful, especially if I open the WebIf up to the internet on my router with port forwarding. Info on any other log files would also be appreciated.

    thanks!
     
  2. Ezra Pound

    Ezra Pound Well-Known Member

    default password = humax, see link HERE, however it looks like this is suggesting the password for 'root' is 'root'

    Code:
    root:x:0:0:root:/mod:/bin/sh
     
  3. Ravi

    Ravi Member

    Code:
    ravi@RPC-UBUNTU1:~$ ssh root@ravhumax.local
    root@ravhumax.local's password:
    ravhumax#
    ravhumax#
    ravhumax#
    ravhumax#
    ravhumax# ls
    bin                          lib                          monitor                      var
    boot                        mediatomb                    sbin                        webif
    dev                          mipsel-linux                share
    etc                          mipsel-unknown-linux-uclibc  tmp
    ravhumax#
    

    Password was indeed humax - cheers!
     
  4. xyz321

    xyz321 Well-Known Member

    The password field contains 'x' but this causes it to look up the password from /etc/shadow where it is stored in encrypted form.
     
  5. Ravi

    Ravi Member

    Thanks for that.

    Can anyone help on the logging question?
     
  6. RedEarth

    RedEarth Member

    Is it OK to change the password, or should it be left as it is? I'd like to change it but I don't want to screw anything else up!