Change root password
-
@rockaddicted Ok, got in through ssh. How do I edit the config file? and how do I make sure ES menu is closed? Thanks
-
On ssh you can edit with
nano /recalbox/share/system/recalbox.conf
and about es menu, don't press start to open the menu
Stay on system/main menu. -
@rockaddicted said in Change root password:
nano /recalbox/share/system/recalbox.conf
I got this error message: Error opening terminal: xterm-256color
If I try a text editor, it says I don';t have permission to edit the file. How can I edit the file to make security=0?
Thanks -
Just do as you add roms officielles bios. Use your local share. And use the ID root/root_password to log you. You will be able to édité recalbox.conf with your text editor.
-
@rockaddicted Ok that worked. Thanks a lot!
-
Would you provide brief step-by-step instructions of how to change the ALL root passwords for recalbox latest version ? From Recalbox release: 17.12.02 (4.1) onwards to latest.
I can see the option under Advanced and when security set to 'on' a password is generated on reboot. But this is only a very short password! If the number of characters could be increased I'd be happy to stick with what it generates.
I have managed to create my own root password by editing the file /recalbox/scripts/recalbox-config.sh
The password then appears in the Recalbox Graphics Mode on the Pi .But on F4 Alt + F2. Logging in is still possible with root and recalboxroot as commented on by @unik314r
(I have mounted -o remount,rw / And tried passwd with a previous version . 4.0.1 and thought the password was persistent on that occasion)
If I try to set the security back to 1 by editing the file from the pi with keyboard connected the password gets set to a random one again on reboot. My password is still in the file but not being used as far as I can tell - since F4 Alt + F2 and I need the generated one. Better than nothing - but easily crackable.
I'm using Linux and can ssh to the pi but unsure from there how I get my password working. This bit is lost in the conversation for me . @frankie842 obviously has solved the problem from your tip. But for me I need a small set of instructions to document the final process here. You do no need to document it all: I can add myself if I can follow the last step.
-
@rockaddicted I cannot follow the last steps to enforce my own root password as @frankie842 managed to do.
I've even tried changing the recalbox-config.sh file in raspbian to set password lenght '-w8' to a greater length . 12 and 15. Both were ignored and in the recalbox graphical interface it still shows its small 8 character password.