This is an old revision of the document!
Changing the default root (ssh) password
Security is a big name for a retrogaming OS. Batocera is not a designed to be a secure OS. Don't expose it to the open Internet: you are warned and you will take all responsibility for what happens, however, there is the option to Enforce security in batocera, this will have two effects upon rebooting:
- The password for root will be changed from
linuxto a randomly generated password, which you can see in System Settings, Security section. - Access to the shared folders from another computer over the network using CIFS (also known as SMB or Samba) will require you to provide the user name
rootand the password
However, if you want to change the password yourself, you need to do the following:
- Connect to your Batocera using SSH on another device
- In EmulationStation, go to the System settings, then to Advanced, and then to Security.
- Enable the
Enforce Securitysetting. - In the terminal connected using SSH, type the following command :
batocera-config setRootPassword [password](replace[password]by the password you want). - Then, use the
batocera-config getRootPasswordcommand to see if your changes were applied. - Reboot the system, and you should be able to connect to it using the new password.
- security.1617646719.txt.gz
- Last modified: 5 years ago
- by fishou