Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Changed root password but still can not login with su

KevDog

FreeNAS Experienced
Joined
Nov 26, 2016
Messages
323
Ok I'll admit this is a really dumb question.

I changed root password through login console

After doing that I ssh into main FreeNAS installation as a regular user. As the user I type "su" and then enter the password -- however it keeps saying bad password.
Do I need to reboot system for password to take effect? I'm kind of confused.
 

dlavigne

Storage Engineering
Joined
May 24, 2011
Messages
12,063
To clarify, you typed 2 commands:
su
password
(when prompted)

and not all at once?

su password

If so, is this on 11.2-U7?
 

KevDog

FreeNAS Experienced
Joined
Nov 26, 2016
Messages
323
Yes I typed su <return>
then password.

This is on 11.2-U7
 

dlavigne

Storage Engineering
Joined
May 24, 2011
Messages
12,063
Please create a report at bugs.ixsystems.com and post the issue number here.
 

KevDog

FreeNAS Experienced
Joined
Nov 26, 2016
Messages
323

Chris Moore

Super Moderator
Moderator
Joined
May 2, 2015
Messages
9,665
After doing that I ssh into main FreeNAS installation as a regular user. As the user I type "su" and then enter the password -- however it keeps saying bad password.
Did you try to use the old password, as a test, or only the new password?
 

KevDog

FreeNAS Experienced
Joined
Nov 26, 2016
Messages
323
Tbh in thought I knew the password but everything I typed didn't work. I figured I'd just change the password which led to the problem I'm reporting. I tried repeating the process three days or four times but got same outcome. Only thing I didn't try was a reboot. I also from main console didn't login as another user to try logging in as su. My sudo user works but that authenticates against user password and not root password.
 
Top