Banana PI R-1, cannot set root password


my hardware:

Model Lamobo R1
Firmware Version LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)
Image: lede-17.01.4-sunxi-sun7i-a20-lamobo-r1-squashfs-sdcard.img

I try to set the root password, but the result is still the same: Unknown Error, password not changed!
All other settings I could set and they works fine (ip adresses, port forwarding)

System Log:
Tue Nov 7 20:11:16 2017 auth.err passwd: can't create '/etc/shadow+': File exists
Tue Nov 7 20:11:16 2017 auth.err passwd: can't update password file /etc/shadow

Any solutions?

Cross check what you have done so far with the password questions that have been answered in the FAQ...


The problem was that ‘/etc/shadow+’ file was existing.
I found similar issue:

I removed this file and set new password by LuCI. It show error again, but however, the password was set correct and now seems all work fine :slight_smile:

Just out of curiousity, and because it is mentioned in the stackoverflow page you posted: Can you please post the output of the df command?

root@LEDE:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2560      2560         0 100% /rom
tmpfs                   516648       692    515956   0% /tmp
/dev/loop0              257728     72392    169272  30% /overlay
overlayfs:/overlay      257728     72392    169272  30% /
tmpfs                      512         0       512   0% /dev