Not Your Dad's IT

Updated Solutions to Classic Challenges

A personal website dedicated to helping IT professionals review where we've been, where we are, and maybe where we are headed.

  • Blog
  • About
  • Disclaimer
SoftNAS_Logo.png

Troubleshooting - Can't Login to SoftNAS Appliance (Azure) - "Incorrect Username/Password"

August 13, 2018 by Nathaniel Avery in Tip, Install

I recently decided to try out the SoftNAS virtual appliance in my Azure account. The installation went as smoothly as any other Azure template install.  All was good until I tried to login to the web interface.  No matter what userid / password combination I tried, I could not get into the web admin GUI.  Frustrated by this, I decided to do some digging.

Overview

When creating a virtual machine from an image using the resource manger GUI, Azure walks you through every setting.  Users pick the type of storage, the network settings, etc.  In addition to this, most templates ask the customer to pick a username and a password.  The username and password I chose did not work in the GUI leaving me very confused.

Problem

I entered a username of my choosing and a password of my choosing and I couldn't connect to the web UI.  Note:  This article uses the SoftNAS Developer Edition, though I suspect it's true of other editions as well.

SoftNAS_setup_Bad.png

The username I selected us "adminuser."  It might not be special, but it works well enough in a POC.  I then selected my password. I open a browser window, enter the public IP, and get a login dialog.  But then, the credentials don't work.

SoftNAS_login_fail_02.png

Workaround

After some digging (ie reading the manual), I discovered that the expected username was "softnas."  I tried the username "softnas" along with the password I crated and still was denied access.

The workaround I found was to login via an SSH session.  I used the username and password created with the template to connect successfully.

SoftNAS_ssh_login_01.png

Video of the login is here:

There are number of default users.  A list of them can be found via "more /etc/passwd"

SoftNAS_default_users.png

The softnas user exists by default.  The password for the softnas account can be set issuing the command "sudo passwd softnas"

SoftNAS_ssh-password_change.png

At this point, the softnas username can be used to login to the web interface.  The SoftNAS appliance is a linux vm, so traditional linux commands (like passwd) work.  

 

The Fix

The fix is to set the username as "softnas" from the very beginning.  

Softnas-login_w_proper_user.png

Lesson - Always Read the Manual

Incidentally, the SoftNAS documentation expressly states "Provide the User name as ‘softnas’ – again, this user MUST be provisioned."   https://docs.softnas.com/display/SD/Azure+Getting+Started+-+Launching+Your+Virtual+Machines

 

August 13, 2018 /Nathaniel Avery
softnas, Troubleshooting, Azure
Tip, Install
  • Newer
  • Older

Powered by Squarespace