Since 4.5.0.16, I can no longer use a “pkcon command” via ssh without further legitimization.
Here is an example with pkcon refresh:
[nemo@XA2Plus ~]$ pkcon refresh
Cache is updated [ ] (0%)
==== AUTHENTICATING FOR org.freedesktop.packagekit.system-sources-refresh ===
Credential is required to update system repositories
Multiple identities can be used for authentication:
1. sailfish-code
2. sailfish-fingerprint
Choose identity to authenticate as (1-2):
Waiting for Legitimization [== ] 1 [ == ]
Password: [ == ]
[ == ] polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Fertig
Fatal error: Failed to obtain authentication.
[nemo@XA2Plus ~]$
My procedure:
Choice of legimitation: 1 [Enter].
Password entry: 5 digits to unlock the device [Enter].
Because no input mask appeared on the mobile phone, everything was entered on the PC.
I never had this legimitation prompt before 4.5.0.16.
Since I had never used an unlock code before, I make one and then reboot the mobile phone. With 4.5.0.18 is the same.