QUESTION What is the default root password and how to change it?

Discussion in 'New to FreeNAS?' started by Tekkie, Jul 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Tekkie

    Member Since:
    May 31, 2011
    Messages:
    332
    Message Count:
    332
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Development & Technology Management,
    Location:
    Santa Monica
    Tekkie, Jul 24, 2011

    The wiki says you should change the default root password (http://doc.freenas.org/index.php/Users) which is great advice except no matter what I enter through the UI as the root password it doesn't change.

    And what is the default root password anyway?
  2. Offline

    ProtoSD FreeNAS Guru

    Member Since:
    Jul 1, 2011
    Messages:
    3,358
    Message Count:
    3,358
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Leaving FreeNAS
    ProtoSD, Jul 24, 2011

    The default password is 'freenas', but I think you might be correct about it not changing. I was able to change it in 8.0, but in 8.01 beta 4, I keep having to use the default and I could swear I changed it. I'll have to try again just to be sure now.
  3. Offline

    tropic Newbie

    Member Since:
    Jul 6, 2011
    Messages:
    41
    Message Count:
    41
    Likes Received:
    0
    Trophy Points:
    6
    tropic, Jul 24, 2011

    Strange. I just changed the root password in 8.0.1 beta4 via the UI, and it persisted through a reboot. Changing it via SSH console only works until the NAS is restarted.
  4. Offline

    Tekkie

    Member Since:
    May 31, 2011
    Messages:
    332
    Message Count:
    332
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Development & Technology Management,
    Location:
    Santa Monica
    Tekkie, Jul 24, 2011

    @protosd you sure the default 'root' password is freenas? it certainly is for the Admin login for the UI, but root?
  5. Offline

    tropic Newbie

    Member Since:
    Jul 6, 2011
    Messages:
    41
    Message Count:
    41
    Likes Received:
    0
    Trophy Points:
    6
    tropic, Jul 25, 2011

    The default root password is freenas.
  6. Offline

    Tekkie

    Member Since:
    May 31, 2011
    Messages:
    332
    Message Count:
    332
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Development & Technology Management,
    Location:
    Santa Monica
    Tekkie, Jul 25, 2011

    Hhmm... weird... I can't login using putty over ssh to my freenas box using 'root' with either the default nor 'modified' passwords.
  7. Offline

    Khue

    Member Since:
    Jul 22, 2011
    Messages:
    2
    Message Count:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Khue, Jul 25, 2011

    Not too familiar with FreeNAS yet, but without configuring it, sometimes the sshd_config is setup to deny root login access. On default installs you typically have to SSH as a user and the su - to root access... Again, new to FreeNAS so take what I am saying with a grain of salt.
  8. Offline

    Tekkie

    Member Since:
    May 31, 2011
    Messages:
    332
    Message Count:
    332
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Development & Technology Management,
    Location:
    Santa Monica
    Tekkie, Jul 25, 2011

    Ah yes... that's a good point will give it a good later today.

    thx
  9. Offline

    warri FreeNAS Guru

    Member Since:
    Jun 6, 2011
    Messages:
    1,059
    Message Count:
    1,059
    Likes Received:
    44
    Trophy Points:
    48
    Location:
    Germany
    warri, Jul 25, 2011

    Services - SSH - Setting: Login as Root with password
  10. Offline

    Tekkie

    Member Since:
    May 31, 2011
    Messages:
    332
    Message Count:
    332
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Software Development & Technology Management,
    Location:
    Santa Monica
    Tekkie, Jul 26, 2011

    Yeah found that option yesterday as well :)
  11. Offline

    jamesclavel

    Member Since:
    Jul 27, 2011
    Messages:
    2
    Message Count:
    2
    Likes Received:
    0
    Trophy Points:
    0
    jamesclavel, Jul 27, 2011

    hi guys, i tried changing "root" password by issuing a "passwd" in command line for freenas 8. after rebooting the "root" password turns back again to the default "freenas"... do you encounter the same problem? any solution? i wanted to change root password. thanks.
  12. Offline

    ProtoSD FreeNAS Guru

    Member Since:
    Jul 1, 2011
    Messages:
    3,358
    Message Count:
    3,358
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Leaving FreeNAS
    ProtoSD, Jul 27, 2011

    You can't change it this way because it doesn't update the FreeNAS database with all the settings. You need to do it from the GUI only.
  13. Offline

    jamesclavel

    Member Since:
    Jul 27, 2011
    Messages:
    2
    Message Count:
    2
    Likes Received:
    0
    Trophy Points:
    0
    jamesclavel, Jul 27, 2011

    @protosd: thanks mate! got it already!
  14. Offline

    sadaunhe

    Member Since:
    Jan 8, 2012
    Messages:
    6
    Message Count:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Chemical engineer
    Location:
    Midland, MI
    sadaunhe, Jan 14, 2012

    I restored my FREENAS 8.0.2 install to the defaults. Now I cannot change the admin password. It will accept neither "freenas" nor my old admin password. Now what?
  15. Offline

    angellayne

    Member Since:
    Jan 10, 2012
    Messages:
    6
    Message Count:
    6
    Likes Received:
    0
    Trophy Points:
    0
    angellayne, Jan 14, 2012

    New to freenes myself but I believe you can reset the admin password from the console.
  16. Offline

    sadaunhe

    Member Since:
    Jan 8, 2012
    Messages:
    6
    Message Count:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Chemical engineer
    Location:
    Midland, MI
    sadaunhe, Jan 15, 2012

    Thanks for replying. If I understand the terminology...and that's not a given...that's what I've been trying to do. To be specific, I have been using the WebGUI, since I installed FreeNAS. I botched the setup, so I restored the defaults. I then got an alert via the WebGUI that the admin password needed to be reset. That's when I ran into the problem. The system will accept neither "freenas" nor my previous admin password. I can change the admin user back and forth with no problems. But the password? Not so much. Should I try to restore the defaults again? Or do I need to connect directly to the FreeNAS box?

    I've been playing Batman: Arkham City. Great game!
  17. Offline

    angellayne

    Member Since:
    Jan 10, 2012
    Messages:
    6
    Message Count:
    6
    Likes Received:
    0
    Trophy Points:
    0
    angellayne, Jan 15, 2012

    Ok, I think I understand what your trying to do now. This is stupid I know but I'm curious, have you tried just leaving the old password blank and putting in your new password when you go to change it in the GUI?

    That is an amazing game I've heard, never tried it myself though... :0)
  18. Offline

    sadaunhe

    Member Since:
    Jan 8, 2012
    Messages:
    6
    Message Count:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Chemical engineer
    Location:
    Midland, MI
    sadaunhe, Jan 16, 2012

    Not so stupid...at least not so stupid that I hadn't tried it. :) Thanks, again, for trying to help. If all else fails, I'll just reinstall the ISO. That should fix the problem...I hope.
Thread Status:
Not open for further replies.

Share This Page