knulli-cfw / distribution

Main KNULLI distribution
https://knulli.org
Other
419 stars 31 forks source link

error at root password change #79

Closed fedekrum closed 1 month ago

fedekrum commented 3 months ago

Knulli build version

40-dev-d3b520f949 2024/07/21 02:18

Your architecture

rg35xx-h

Issue description

i am getting an error while trying to change root passwd

[root@KNULLI /userdata/system]# batocera-config setRootPassword
cat: '/sys/class/net/eth/address': No such file or directory
** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
[root@KNULLI /userdata/system]#

Model: sun50iw9 System: Linux 4.9.170 Architecture: aarch64 Board: rg35xx-h CPU Cores: / CPU Threads: 4 CPU Max Frequency: 1512 MHz Temperature: 59°C Available Memory: 758/973 MB Display Resolution: 640x480 Display Refresh Rate: .Hz Data Partition Format: ext4 Data Partition Available Space: 52G Network IP Address: 192.168.0.21 Battery: 100% OS version: 40-dev-d3b520f949 2024/07/21 02:18

Detailed reproduction steps

execute "batocera-config setRootPassword" as root on terminal

Details of any attempts to fix this yourself

no

Details of any modifications you have made to Knulli.

no

Logs and data

No response

HoroTW commented 3 months ago

Huhu, just to make sure we are on the same page:

  1. Menu -> System settings -> Security -> set Enforce Security to on
  2. Reboot (after changing this setting, for the temporary root password go to Menu -> System Settings -> Security and check the new random password)
  3. batocera-config setRootPassword [yourPassword] # You will get the above error but it should work anyway.
  4. Reboot
  5. Your new password should work now.
HoroTW commented 3 months ago

Despite working I created a small PR so there are no warnings/errors anymore when executing the commands (Also fixed the underling issue and not just silencing them ^^)

HoroTW commented 3 months ago

Can confirm this is now fixed in new builds :wink:, so you (or someone that has the rights for it) can close this issue 😊

HoroTW commented 3 months ago

@fedekrum would you please close the issue or is it not fixed for you?