Ask / Submit

Cannot install apps or change system settings

asked 2019-05-13 20:43:49 +0300

ajwatt gravatar image

updated 2019-05-15 13:55:12 +0300

jiit gravatar image

I have had this happen twice now on my Xperia X. I am unable to set a password for ssh access, as in it will not generate a password and it will not save one that I set. It shows a single bullet character in the password field even if I type a new password and click save. And of course nothing that I try for the password will work for ssh connections or devel-su elevation. Also, changing settings for things like location service and VPN are not saved, and apps cannot be installed or updated.

The first time this happened, it was on release 3.0.0 (upgraded from a 2.x release). I re-flashed it to release and that corrected the problem. The second time (on release, I looked at the permissions for /etc/shadow there are no permissions set:

[nemo@Sailfish ~]$ ls -l /etc/shad*
---------- 1 root root 2094 2019-05-02 12:40 /etc/shadow
---------- 1 root root 2192 2019-05-02 11:55 /etc/shadow-

So that's my problem, but I can't figure out how that happened. I checked the system date and time just to be sure something odd wasn't going on there, and they are correct. So I wanted to check here to see if anyone has heard of this before I do another re-flash.

EDIT: the problem is not with /etc/shadow, it's something else unknown. Thanks @hlub.

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted

answered 2019-05-13 23:36:40 +0300

hlub gravatar image

updated 2019-05-13 23:46:08 +0300

Those permissions are not at all unusual

On my Xperia XA2 /etc/shadow has 000 permission as well, and I am able to set the password for devel-su (and presumably, ssh) without any problem

The problems you describe (e.g. not being able to install apps) seem quite serious, but they are not caused by /etc/shadow having wrong permissions.

edit flag offensive delete publish link more


Thank you, I was using my Ubuntu system as a reference, which was probably a bad idea in hindsight.

ajwatt ( 2019-05-14 20:24:08 +0300 )edit

answered 2019-05-15 12:17:27 +0300

Forrest74 gravatar image

updated 2019-05-16 09:49:46 +0300

Yeah..It is obvious that Ubunt would not function properly alongside it....A lesson learnt though myccpay

edit remove flag flag offensive (2) delete publish link more
Login/Signup to Answer

Question tools



Asked: 2019-05-13 20:43:49 +0300

Seen: 263 times

Last updated: May 16