We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-05-13 20:43:49 +0200

/etc/shadow has no permissions

I have had this happen twice now. 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 are not saved.

The first time this happened, I re-flashed to correct it. The second time, 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.

/etc/shadow has no permissions

I have had this happen twice now. 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 are not saved.

The first time this happened, it was on release 3.0.0 (upgraded from a 2.x release). I re-flashed to correct it. it to release 3.0.2.8 and that corrected the problem. The second time, time (on release 3.0.2.8), 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.

/etc/shadow has no permissions

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 are not saved.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 3.0.2.8 and that corrected the problem. The second time (on release 3.0.2.8), 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.

/etc/shadow has no permissionsCannot install apps or change system settings

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 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 3.0.2.8 and that corrected the problem. The second time (on release 3.0.2.8), 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.

Cannot install apps or change system settings

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 3.0.2.8 and that corrected the problem. The second time (on release 3.0.2.8), 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.

Cannot install apps or change system settings

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 3.0.2.8 and that corrected the problem. The second time (on release 3.0.2.8), 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.

Cannot install apps or change system settings

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 3.0.2.8 and that corrected the problem. The second time (on release 3.0.2.8), 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.