You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But afterward, every time I log in it tells me that my password has expired, and to reset it, but each time I do it logs me out and when I log back in, the reset cycle loops endlessly.
So, I am thinking I could edit this mod so it works but with a different password from the start.
I found one place in "flashforge_init.sh" where a password could be edited in plain text, but that seems to be Wifi related instead of Linux root user related.
Thanks for any advice!
The text was updated successfully, but these errors were encountered:
The shadow file is basically the password file. You can see the encoded password there.
To answer your question, you don't. FF uses root and always tries to reset it. That shadow fior does have an "force reset on passwd change" option. So that might help.
Instead, you create your own username and password. And since FF doesn't know about your account, it's never touched. It's quite simple: copy the one file flashforge_init.sh, remove all lines and add just these to create your own account:
If you want to continue using this older patch, which may only work on 2.4.5 and not 2.6.x (FF is closing things down, they are reading these messages), then you can try to edit the shadow file to add your own new user (along with an updated passwd). Then use the hack in the above link to gain root access.
Hello and thanks for this! It works great!
I changed the root password with
passwd
But afterward, every time I log in it tells me that my password has expired, and to reset it, but each time I do it logs me out and when I log back in, the reset cycle loops endlessly.
So, I am thinking I could edit this mod so it works but with a different password from the start.
I found one place in "flashforge_init.sh" where a password could be edited in plain text, but that seems to be Wifi related instead of Linux root user related.
Thanks for any advice!
The text was updated successfully, but these errors were encountered: