Posts: 140
Threads: 31
Joined: May 2017
Reputation:
0
03-15-2018, 10:45 PM
(This post was last modified: 03-19-2018, 12:06 PM by Vera.)
On my LL laptop, I have 3 accounts, one for me (the admin) and two others for two family members.
A family member was logged into his account, none of the other accounts were logged in. I needed to open one of his folders as admin (long story, he was there with me, I was doing this with his permission). So I right clicked on the folder and went to "Open As Administrator" and it asked for password, and I put in my root password. It said it was incorrect. I tried this several times, and I checked that caps lock was off. I can only conclude that it wasn't letting me open it as admin while logged in under his account instead of mine. Is that the expected behavior?
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!
Posts: 1,511
Threads: 140
Joined: Mar 2016
Reputation:
0
You have to shuttle through the main file system (computer) after opening it as administrator /home/user name/whatever.the.file.is to open it as administrator. You can't open anything as administrator from his home directory. You have to get there from the home folder in main file system. It's that way on all non rooted systems that use sudo.
TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Posts: 140
Threads: 31
Joined: May 2017
Reputation:
0
Ah - that clears it up. Thank you so much for the clear and helpful explanation [member=5916]trinidad[/member] . This definitely helped explain the behavior I'm seeing. OK, next time I need to do that I'll go through the file system instead of starting in his home directory.
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!
Posts: 140
Threads: 31
Joined: May 2017
Reputation:
0
Thanks [member=6629]ralphy[/member] , I had to wrap my head around this, not knowing anything about gksu and pkexec. I may wind up installing UnlockMe on that computer, since I forsee multi-user issues coming up again and again on that machine.
One question: If pkexec has the advantage of resulting in more intuitive or more convenient behavior on multi-user machines, why does LL use gksu out of the box and not pkexec? Is there some advantage to gksu somewhere?
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!
Posts: 1,511
Threads: 140
Joined: Mar 2016
Reputation:
0
[member=6629]ralphy[/member] Essentially gksudo is deprecated for security reasons on all gtk3+ apps in gnome so it is inconsistent across platforms based on Ubuntu 16.04 and up and/or Debian 9. The deployment of pkexec is incomplete in Ubuntu 16.04 and up as well, depending on the version, so that XFCE, Mate, Lubuntu, and others can still access gksudo for certain other apps. It is an Ubu thing. Similar issues with NM and WICD since Deb default went gnome, i/e gnome default compared to LXDE. Core issue is with the base GUI for apps.
TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Posts: 140
Threads: 31
Joined: May 2017
Reputation:
0
Thanks [member=6629]ralphy[/member] and [member=5916]trinidad[/member] for so ably answering my question about the background behind this. OK, so it seems that this is due mainly to historical reasons that it is set up like that for custom admin actions via Thunar.
Thanks again ralphy for UnlockMe - I think that will be a real asset to my multi-user machine.
Using Linux Lite for everything now. I put it on my desktop and my laptop. Woohoo!