Bug #297

root password change does not survive reboot

Added by lml - almost 3 years ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Backend
Target version:-
Seen in:

Description

Tried with FreeNAS-8.0-RC2-amd64, FreeNAS-8.0-RC3-amd64, FreeNAS-8.0-RC4-amd64, and FreeNAS-8.0-RC5-amd64.

Logged in as root over ssh with the default password (freenas).
Changed the root password via the passwd command.
Logged out.
Attempted to log back in as root using the default password and it fails as expected.
Attempted to log back in as root using the new password and it succeeds as expected.
Rebooted.
Attempted to log back in as root using the new password but it unexpectedly failed.
Attempted to log back in as root using the default password and it unexpectedly succeeded.

History

#1 Updated by Josh Paetzel almost 3 years ago

  • Resolution set to invalid
  • Status changed from Unscreened to Closed

This is expected behavior, as the password files are populated from the database which is driven from the GUI.

You can set the root password in the GUI by going to Account -> Users, then clicking the change password button for the root user.

This will persist through reboots.

#2 Updated by alamin nerob about 1 month ago

I am trying to change root password on command shell. it's change but after reboot it's password reset. please help me.

Also available in: Atom PDF