https://bugs.kde.org/show_bug.cgi?id=420640

--- Comment #3 from MMz <karmare...@gmail.com> ---
Sorry to wait more trials.

The answer to your question is NO, that user (actually both "sudo" as UID=1000
and UID=1001) can not commit to install the package by simply using `pkcon
install <packagename>` on the command line and entering its password at the
next message prompt window. It fails Authentication.

Than, in order to commit the install, it has to start the command as sudo using
'sudo pkcon install <packagename>`.

See next copy of terminal screens for both command, in the same sequence, from
UID=1000(brixiamate).

And than an abstract from /var/log/auth.log file in the same moments of
session.

-.-.- without sudo
brixiamate@BAT20n12:~$ pkcon install leocad
Resolving                     [=========================]                    
Querying                      [=========================]                    
Testing changes               [=========================]                    
Finished                      [=========================]                    
Installing                    [=========================]                    
Waiting for authentication    [=========================]         li         
Finished                      [=========================]                    
Fatal error: Failed to obtain authentication.                                

-.- with sudo
brixiamate@BAT20n12:~$ sudo pkcon install leocad
[sudo] password di brixiamate: 
Resolving                     [=========================]         
Querying                      [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 leocad-19.07.1-1build1.amd64   software CAD con mattoncini virtuali
Proceed with changes? [N/y] y

                              [=========================]         
Installing                    [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Finished                      [=========================]         
brixiamate@BAT20n12:~$ 


-.- abstract from /var/log/auth.log of the same 2 install operation.
.
.
.
May 14 23:54:15 BAT20n12 polkitd(authority=local): Registered Authentication
Agent for unix-process:8718:1981959 (system bus name :1.156
[/usr/bin/pkttyagent --notify-fd 14 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
May 14 23:54:26 BAT20n12 PackageKit: uid 1000 is trying to obtain
org.freedesktop.packagekit.package-install auth (only_trusted:1)
May 14 23:54:31 BAT20n12 polkitd(authority=local): Unregistered Authentication
Agent for unix-session:9 (system bus name :1.135, object path
/org/lxqt/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected
from bus)
May 14 23:54:31 BAT20n12 polkitd(authority=local): Operator of unix-session:9
FAILED to authenticate to gain authorization for action
org.freedesktop.packagekit.package-install for system-bus-name::1.154 [pkcon
install leocad] (owned by unix-user:brixiamate)
May 14 23:54:31 BAT20n12 PackageKit: uid 1000 failed to obtain auth
May 14 23:54:31 BAT20n12 polkitd(authority=local): Unregistered Authentication
Agent for unix-process:8718:1981959 (system bus name :1.156, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
(disconnected from bus)
May 14 23:54:32 BAT20n12 polkitd(authority=local): Registered Authentication
Agent for unix-session:9 (system bus name :1.158
[/usr/bin/lxqt-policykit-agent], object path
/org/lxqt/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
May 14 23:55:34 BAT20n12 sudo: pam_unix(sudo:auth): Couldn't open
/etc/securetty: File o directory non esistente
May 14 23:55:37 BAT20n12 sudo: pam_unix(sudo:auth): Couldn't open
/etc/securetty: File o directory non esistente
May 14 23:55:37 BAT20n12 sudo: brixiamate : TTY=pts/1 ; PWD=/home/brixiamate ;
USER=root ; COMMAND=/usr/bin/pkcon install leocad
May 14 23:55:37 BAT20n12 sudo: pam_unix(sudo:session): session opened for user
root by (uid=0)
May 14 23:55:37 BAT20n12 polkitd(authority=local): Registered Authentication
Agent for unix-process:8826:1990248 (system bus name :1.160
[/usr/bin/pkttyagent --notify-fd 10 --fallback], object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
May 14 23:55:41 BAT20n12 PackageKit: uid 0 is trying to obtain
org.freedesktop.packagekit.package-install auth (only_trusted:1)
May 14 23:55:41 BAT20n12 PackageKit: uid 0 obtained auth for
org.freedesktop.packagekit.package-install
May 14 23:56:45 BAT20n12 polkitd(authority=local): Unregistered Authentication
Agent for unix-process:8826:1990248 (system bus name :1.160, object path
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
(disconnected from bus)
May 14 23:56:45 BAT20n12 sudo: pam_unix(sudo:session): session closed for user
root

-.-
Please, help !
Thank you :-)
MMz

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to