nodesign / weio

weio
http://we-io.net
128 stars 35 forks source link

Updater - root user password not preserved #222

Closed drasko closed 9 years ago

drasko commented 9 years ago

Sysupgrade should preserve user passwords. However, due to the known bug in OpenWRT: https://dev.openwrt.org/ticket/18206, UNIX account passwords are not preserved.

root in WeIO thus uses password after the sysupgrade, and ssh and samba are not accessible.

Proposed workaround is on the bug report: To prevent that, you need to edit /etc/keep.d/base-files-essentials to include also "/etc/shadow".

This should be kept until we port WeIO to OpenWRT mainstream, and we pass to more modern OpenWRT version.

ks156 commented 9 years ago

@drasko : you put it in the 1.2, but it seems to be fixed by ad5a254fcf71eb0f84aeb198b38f8e47657190e1. The code for 1.1 is already frozen ?

drasko commented 9 years ago

@ks156 sorry, corrected to v1.1.

ks156 commented 9 years ago

Tested, and password preserved.