first revert your change and remove -w flag. Than we would need to check why no other user (except root) can login. What happen if you login as root and try following
su - dietpi
first revert your change and remove -w flag. Than we would need to check why no other user (except root) can login. What happen if you login as root and try following
su - dietpi